diff options
author | Tim Deegan <Tim.Deegan@xensource.com> | 2007-02-09 10:48:41 +0000 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@xensource.com> | 2007-02-09 10:48:41 +0000 |
commit | e0bc4531dfc430497e311f13192781ce215d40b8 (patch) | |
tree | 11fe8e310a71d1b697e7be224d0d68f658a8f6e2 /tools/libxc/xenguest.h | |
parent | 982965741d777beb7f79e46e15a05f8c6dd2ce1e (diff) | |
download | xen-e0bc4531dfc430497e311f13192781ce215d40b8.tar.gz xen-e0bc4531dfc430497e311f13192781ce215d40b8.tar.bz2 xen-e0bc4531dfc430497e311f13192781ce215d40b8.zip |
[HVM] Save/restore: disentangle max_pfn from nr_pages.
These have been used interchangeably, which is OK for PV domains but
not for HVM. This fixes an over-allocation by 256MB when restoring
HVM guests that have more than 4GB of RAM.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'tools/libxc/xenguest.h')
-rw-r--r-- | tools/libxc/xenguest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xenguest.h b/tools/libxc/xenguest.h index 3800b0cb13..7e19442bd4 100644 --- a/tools/libxc/xenguest.h +++ b/tools/libxc/xenguest.h @@ -57,7 +57,7 @@ int xc_linux_restore(int xc_handle, int io_fd, uint32_t dom, * @return 0 on success, -1 on failure */ int xc_hvm_restore(int xc_handle, int io_fd, uint32_t dom, - unsigned long nr_pfns, unsigned int store_evtchn, + unsigned long max_pfn, unsigned int store_evtchn, unsigned long *store_mfn, unsigned int pae, unsigned int apic); |