From c08d64434aea7b798c4a25d40db4021ca17a8588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 1 Nov 2016 11:18:01 +0300 Subject: [PATCH] qmp-commands: move 'x-colo-lost-heartbeat' doc to schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Signed-off-by: Markus Armbruster --- docs/qmp-commands.txt | 10 ---------- qapi-schema.json | 6 ++++++ 2 files changed, 6 insertions(+), 10 deletions(-) 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' }