From: Marc-André Lureau Date: Tue, 1 Nov 2016 08:18:01 +0000 (+0300) Subject: qmp-commands: move 'x-colo-lost-heartbeat' doc to schema X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c08d64434aea7b798c4a25d40db4021ca17a8588;p=qemu.git qmp-commands: move 'x-colo-lost-heartbeat' doc to schema Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- diff --git a/docs/qmp-commands.txt b/docs/qmp-commands.txt index 93b3742ac5..715b9231fd 100644 --- a/docs/qmp-commands.txt +++ b/docs/qmp-commands.txt @@ -94,16 +94,6 @@ Example: Note: CPUs' indexes are obtained with the 'query-cpus' command. -x-colo-lost-heartbeat --------------------- - -Tell COLO that heartbeat is lost, a failover or takeover is needed. - -Example: - --> { "execute": "x-colo-lost-heartbeat" } -<- { "return": {} } - qmp_capabilities ---------------- diff --git a/qapi-schema.json b/qapi-schema.json index 7aeb0fa1e7..661f82b033 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1157,6 +1157,12 @@ # then takes over server operation to become the service VM. # # Since: 2.8 +# +# Example: +# +# -> { "execute": "x-colo-lost-heartbeat" } +# <- { "return": {} } +# ## { 'command': 'x-colo-lost-heartbeat' }