Masayuki Igawa
2007-Aug-17 06:53 UTC
[Xen-devel] [PATCH] Fix "xm restore" require 4 times amount of memory on ia64.
Hi,
When restoring a guest on ia64, xen tries to allocate 4 times amount
of memory as large as that of the guest.
(For example:
If your guest memory size is 5GB, ''xm restore'' will need
20GB!)
In XendCheckpoint.py, the page size is hard coded to 4KB.
That is:
nr_pfns = (dominfo.getMemoryTarget() + 3) / 4
But page size is 16KB on ia64 system.
This patch fixes the problem.
Thanks.
--
Masayuki Igawa
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel