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] 3.0.3-rc3 restore problem

To: Tuan Van <lang.thang@xxxxxxxxx>
Subject: Re: [Xen-devel] 3.0.3-rc3 restore problem
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Thu, 12 Oct 2006 18:01:56 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 Oct 2006 10:02:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <452E72EB.5000202@xxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <452E72EB.5000202@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Oct 12, 2006 at 09:52:59AM -0700, Tuan Van wrote:

> Hi everyone,
> I tried to restore a saved domain but it failed with:
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
> 263, in domain_restore_fd
>     return XendCheckpoint.restore(self, fd)
>   File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
> line 150, in restore
>     balloon.free(xc.pages_to_kib(nr_pfns))
>   File "/usr/lib/python2.4/site-packages/xen/xend/balloon.py", line 166,
> in free
>     raise VmError(
> VmError: I need 192512 KiB, but dom0_min_mem is 200704 and shrinking to
> 200704 KiB would leave only 119668 KiB free.
> 
> For some reason, balloon.py get the wrong value for dom0_min_mem. In
> grub.conf I set dom0_mem=131072 and xm list shows it correctly:
> # xm list 0
> Name                                      ID Mem(MiB) VCPUs State   Time(s)
> Domain-0                                   0      128     1 r-----   4906.2
> 
> Did I miss something ?

dom0_min_mem is an additional setting in /etc/xen/xend-config.sxp,
over-and-above anything that might be set on the kernel command line
(dom0_mem).  You need to change that setting to match your dom0_mem (or make
it lower than dom0_mem, if that's what you'd like).

Ewan.

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

<Prev in Thread] Current Thread [Next in Thread>