diff options
author | Tim Deegan <Tim.Deegan@xensource.com> | 2007-03-16 11:39:50 +0000 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@xensource.com> | 2007-03-16 11:39:50 +0000 |
commit | da12f80b3e44e8941091048b3aea6c2d3f9c6713 (patch) | |
tree | cfa74364f0e01ed51ff15428155e2c230912236c /tools/libxc/xenguest.h | |
parent | f326023b8394296eb85a3bf2222edb1734c4cb6b (diff) | |
download | xen-da12f80b3e44e8941091048b3aea6c2d3f9c6713.tar.gz xen-da12f80b3e44e8941091048b3aea6c2d3f9c6713.tar.bz2 xen-da12f80b3e44e8941091048b3aea6c2d3f9c6713.zip |
[HVM][QEMU] Save/restore: enable HVM live migration
by getting page-dirtying bitmaps from qemu-dm as well as from xen.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'tools/libxc/xenguest.h')
-rw-r--r-- | tools/libxc/xenguest.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/libxc/xenguest.h b/tools/libxc/xenguest.h index 5b6e7c6d2a..76b7413f15 100644 --- a/tools/libxc/xenguest.h +++ b/tools/libxc/xenguest.h @@ -32,8 +32,10 @@ int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, * @return 0 on success, -1 on failure */ int xc_hvm_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, - uint32_t max_factor, uint32_t flags /* XCFLAGS_xxx */, - int (*suspend)(int domid)); + uint32_t max_factor, uint32_t flags /* XCFLAGS_xxx */, + int (*suspend)(int domid), + void *(*init_qemu_maps)(int, unsigned), + void (*qemu_flip_buffer)(int, int)); /** * This function will restore a saved domain running Linux. |