Thanks for your explaination very much !
>From: Ewan Mellor [mailto:ewan@xxxxxxxxxxxxx]
>Sent: Friday, May 19, 2006 11:15 PM
>To: Jiang, Yunhong
>Cc: Charles Coffing; xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-devel] [PATCH] Fix auto-ballooning of dom0
>for HVM domains
>On Fri, May 19, 2006 at 12:23:59PM +0800, Jiang, Yunhong wrote:
>> Hi, Charles
>> Just one suggestion, for xen-hvm-auto-balloon.diff, how about
>> xc.domain_setmaxmem(self.domid, m)
>self.info['memory'] * 1024)
>> The maxmem would be used to check when guest try to increase memory.
>> Also, does anyone know the what the BALLOON_OUT_SLACK on
>> tools/python/xen/xend/balloon.py stands for? The comments said it is
>> "physinfo details are rounded".
>When you get the free memory from xc.physinfo(), it may report
>100MB free when actually there are 99.9MB free. It rounds up
>are often just a few pages short of the value you expect,
>because there are
>pages being used for the I/O shared rings, for example. This
>means that when
>deciding how much memory to balloon, we need to subtract 1MB.
Xen-devel mailing list