WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Xen-unstable save error

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Xen-unstable save error
From: Michal Novotny <minovotn@xxxxxxxxxx>
Date: Tue, 22 Jun 2010 09:38:09 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 22 Jun 2010 00:39:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C2078E202000078000078BB@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C8460FA6.18254%keir.fraser@xxxxxxxxxxxxx> <4C2056C6.2000708@xxxxxxxxxx> <4C2078E202000078000078BB@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4
On 06/22/2010 08:48 AM, Jan Beulich wrote:
On 22.06.10 at 08:23, Michal Novotny<minovotn@xxxxxxxxxx>  wrote:
Jan, as we were solving this with Keir on the list I was unable to save
the HVM guest properly and reverting your c/s 21615 helped and with your
patch reverted it was working fine. Any idea why there were so type
failures for all the pages of HVM guest?
Not really, and I think you will need to find out by instrumenting the
hypercall implementation (XEN_DOMCTL_getpageframeinfo{2,3}) -
really, type failures should only happen for grant frames and I/O
memory pages (as you can see in the code, for the function to
report XTAB either the MFN must be invalid, must be a Xen frame,
or it must be impossible to obtain a reference to the page - all of
which shouldn't hold for the majority of a HVM guest's pages).

Btw., Keir, is it really correct for the type to be returned as zero
(normal page) when xsm_getpageframeinfo() returns non-zero?

Is there anything special about the guest you're trying to save? That
patch was tested quite extensively here before submission...

Jan

Nothing special, the guest is RHEL-5 i386 HVM guest with the serial console enabled in /boot/grub/grub.conf to be able to access it using the `xm console` command. It returns no error printed to the xend.log (except when I added the debug output) but the total size of the 'ls -alh /path/to/save/file' (after the save) is 54M instead of > 1G (the guest memory size).

Michal

--
Michal Novotny<minovotn@xxxxxxxxxx>, RHCE
Virtualization Team (xen userspace), Red Hat


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel