aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-10-04 19:56:26 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-10-04 19:56:26 -0500
commita14c74928ba1fdaada515717f4d3c3fa3275d6f7 (patch)
tree7062cfac7b7ce5c87d9a48090756f3f4ca85709a /qmp-commands.hx
parent05d4f2f2ca6053bfea2e97cf324901ca18e49c76 (diff)
parent8aba7dc02d5660df7e7d8651304b3079908358be (diff)
Merge remote-tracking branch 'sstabellini/xen-2012-10-03' into staging
* sstabellini/xen-2012-10-03: xen: Set the vram dirty when an error occur. exec, memory: Call to xen_modified_memory. exec: Introduce helper to set dirty flags. xen: Introduce xen_modified_memory. QMP, Introduce xen-set-global-dirty-log command. qemu/xen: Add 64 bits big bar support on qemu xen: Fix, no unplug of pt device by platform device.
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx24
1 files changed, 24 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 1aef27ca14..2f8477e2a8 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -493,6 +493,30 @@ Example:
EQMP
{
+ .name = "xen-set-global-dirty-log",
+ .args_type = "enable:b",
+ .mhandler.cmd_new = qmp_marshal_input_xen_set_global_dirty_log,
+ },
+
+SQMP
+xen-set-global-dirty-log
+-------
+
+Enable or disable the global dirty log mode.
+
+Arguments:
+
+- "enable": Enable it or disable it.
+
+Example:
+
+-> { "execute": "xen-set-global-dirty-log",
+ "arguments": { "enable": true } }
+<- { "return": {} }
+
+EQMP
+
+ {
.name = "migrate",
.args_type = "detach:-d,blk:-b,inc:-i,uri:s",
.mhandler.cmd_new = qmp_marshal_input_migrate,