diff options
author | Steven Hand <steven@xensource.com> | 2007-04-02 16:46:52 +0100 |
---|---|---|
committer | Steven Hand <steven@xensource.com> | 2007-04-02 16:46:52 +0100 |
commit | e2a44bc7a4f19cebdb17a5153cc443f420d9fe5d (patch) | |
tree | 33936b3b4898a35c5390e544b6f65f72f8618e18 /tools/libxc/xenguest.h | |
parent | 970ce2580bd1403a8c3ac5ed8cf7055ca1e6b20f (diff) | |
download | xen-e2a44bc7a4f19cebdb17a5153cc443f420d9fe5d.tar.gz xen-e2a44bc7a4f19cebdb17a5153cc443f420d9fe5d.tar.bz2 xen-e2a44bc7a4f19cebdb17a5153cc443f420d9fe5d.zip |
Some save/restore cleanups.
Signed-off-by: Steven Hand <steven@xensource.com>
Diffstat (limited to 'tools/libxc/xenguest.h')
-rw-r--r-- | tools/libxc/xenguest.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/libxc/xenguest.h b/tools/libxc/xenguest.h index 76b7413f15..b1809050b3 100644 --- a/tools/libxc/xenguest.h +++ b/tools/libxc/xenguest.h @@ -43,15 +43,16 @@ int xc_hvm_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, * @parm xc_handle a handle to an open hypervisor interface * @parm fd the file descriptor to restore a domain from * @parm dom the id of the domain - * @parm nr_pfns the number of pages + * @parm p2m_size number of pages the guest has (i.e. number entries in P2M) + * @parm max_nr_pfns domains maximum real memory allocation, in pages * @parm store_evtchn the store event channel for this domain to use * @parm store_mfn returned with the mfn of the store page * @return 0 on success, -1 on failure */ int xc_linux_restore(int xc_handle, int io_fd, uint32_t dom, - unsigned long nr_pfns, unsigned int store_evtchn, - unsigned long *store_mfn, unsigned int console_evtchn, - unsigned long *console_mfn); + unsigned long p2m_size, unsigned long max_nr_pfns, + unsigned int store_evtchn, unsigned long *store_mfn, + unsigned int console_evtchn, unsigned long *console_mfn); /** * This function will restore a saved hvm domain running unmodified guest. |