diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-04 16:18:28 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-04 16:18:28 +0100 |
commit | 087d43326ab4de5dbf25e67bd17dcc72262d2a65 (patch) | |
tree | f756b19e2ccfc63c67e8dafb391b9fa438cac786 /tools/libxc/xenguest.h | |
parent | 76de76e0f307eed8830d6a0507afb07a07dbc38e (diff) | |
download | xen-087d43326ab4de5dbf25e67bd17dcc72262d2a65.tar.gz xen-087d43326ab4de5dbf25e67bd17dcc72262d2a65.tar.bz2 xen-087d43326ab4de5dbf25e67bd17dcc72262d2a65.zip |
hvm: Lazy memory allocation during HVM restore. General cleanup and
reduce gross assumptions about memory-map layout.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xenguest.h')
-rw-r--r-- | tools/libxc/xenguest.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/libxc/xenguest.h b/tools/libxc/xenguest.h index c23d7657c5..c5bfa9c5d9 100644 --- a/tools/libxc/xenguest.h +++ b/tools/libxc/xenguest.h @@ -50,7 +50,7 @@ int xc_hvm_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, * @return 0 on success, -1 on failure */ int xc_linux_restore(int xc_handle, int io_fd, uint32_t dom, - unsigned long p2m_size, unsigned long max_nr_pfns, + unsigned long p2m_size, unsigned int store_evtchn, unsigned long *store_mfn, unsigned int console_evtchn, unsigned long *console_mfn); @@ -61,9 +61,9 @@ 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 max_pfn, unsigned int store_evtchn, - unsigned long *store_mfn, - unsigned int pae, unsigned int apic); + unsigned int store_evtchn, + unsigned long *store_mfn, + unsigned int pae, unsigned int apic); /** * This function will create a domain for a paravirtualized Linux |