diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2012-10-03 13:48:19 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2012-10-03 13:48:19 +0000 |
commit | 39f42439d0629d3921629dc4b38e68df8f2f7b83 (patch) | |
tree | 4d473e54a7d1d53f54b7451dceabd855bc245dc4 /xen-stub.c | |
parent | aabc8530c7ba2be89e21463f051056ad7c255e6e (diff) | |
download | qemu-39f42439d0629d3921629dc4b38e68df8f2f7b83.tar.gz qemu-39f42439d0629d3921629dc4b38e68df8f2f7b83.tar.bz2 qemu-39f42439d0629d3921629dc4b38e68df8f2f7b83.zip |
QMP, Introduce xen-set-global-dirty-log command.
This command is used during a migration of a guest under Xen. It calls
memory_global_dirty_log_start or memory_global_dirty_log_stop according to the
argument pass to the command.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'xen-stub.c')
-rw-r--r-- | xen-stub.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xen-stub.c b/xen-stub.c index 8ff2b79ac6..5e66ba8f04 100644 --- a/xen-stub.c +++ b/xen-stub.c @@ -11,6 +11,7 @@ #include "qemu-common.h" #include "hw/xen.h" #include "memory.h" +#include "qmp-commands.h" void xenstore_store_pv_console_info(int i, CharDriverState *chr) { @@ -54,3 +55,7 @@ int xen_init(void) void xen_register_framebuffer(MemoryRegion *mr) { } + +void qmp_xen_set_global_dirty_log(bool enable, Error **errp) +{ +} |