[Libvir] [PATCH] Fix dom0 maxmem display for memmax not set case

Daniel Veillard veillard at redhat.com
Thu Mar 15 14:29:09 UTC 2007


On Thu, Mar 15, 2007 at 09:36:12PM +0900, Atsushi SAKAI wrote:
> Hi, 
> 
> This patch intends to fix dom0 maxmem display.
> 
> If we do NOT set maximum memory, 
> max_pages (in Xen) are set maximum value(0xFFFFFFFF). 
> This display confuses user.
> For x86 cases, following data are shown on "virsh dominfo 0"
> (please case 4kb page size This case max_pages x 4 is output).
> Max memory:    4294967292 kB
> This patch fix as follows
> Max memory:    no limit
> (This comment is taken from xentop :-))
> 
> This problem is already cared on xentop (Xen performance tool).
> 
> Signed-off-by: Atsushi SAKAI <sakaia at jp.fujitsu.com>

   Right, this makes sense ! Thanks for catching this, I applied and
commited your patch to CVS. Just one tiny thing if you could provide 
patches as attachments to mails instead of inline, this makes things
a bit more easy and reliable from my point of vue :-)

   thanks a lot !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list