[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 11/15] qapi: add QMP qmp_capabilities command
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [PATCH 11/15] qapi: add QMP qmp_capabilities command |
Date: |
Fri, 11 Mar 2011 17:05:41 -0600 |
For now, it's a nop. In the near future, it will be used to register default
signals.
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/qmp-core.c b/qmp-core.c
index 22b413b..ccc2b7d 100644
--- a/qmp-core.c
+++ b/qmp-core.c
@@ -447,3 +447,7 @@ void qmp_init_chardev(CharDriverState *chr)
qemu_chr_add_handlers(chr, qmp_chr_can_receive, qmp_chr_receive,
qmp_chr_event, s);
}
+
+void qmp_qmp_capabilities(QmpState *state, Error **errp)
+{
+}
diff --git a/qmp-schema.json b/qmp-schema.json
index d19cf73..e0789d0 100644
--- a/qmp-schema.json
+++ b/qmp-schema.json
@@ -100,3 +100,13 @@
# Since: 0.14.0
##
{ 'command': 'quit' }
+
+##
+# @qmp_capabilities:
+#
+# Currently a nop command. To communicate with older servers, this should be
+# sent first before executing new commands.
+#
+# Since: 0.14.0
+##
+{ 'command': 'qmp_capabilities' }
--
1.7.0.4
- Re: [Qemu-devel] [PATCH 01/15] qapi: add code generator for qmp-types (v2), (continued)
[Qemu-devel] Re: [PATCH 01/15] qapi: add code generator for qmp-types (v2), Luiz Capitulino, 2011/03/18
[Qemu-devel] [PATCH 08/15] qapi: add new QMP server that uses CharDriverState (v2), Anthony Liguori, 2011/03/11
[Qemu-devel] [PATCH 09/15] vl: add a new -qmp2 option to expose experimental QMP server, Anthony Liguori, 2011/03/11
[Qemu-devel] [PATCH 10/15] qapi: add QMP quit command, Anthony Liguori, 2011/03/11
[Qemu-devel] [PATCH 07/15] qapi: add query-version QMP command, Anthony Liguori, 2011/03/11
[Qemu-devel] [PATCH 11/15] qapi: add QMP qmp_capabilities command,
Anthony Liguori <=
[Qemu-devel] [PATCH 06/15] qapi: add code generators for QMP command marshaling, Anthony Liguori, 2011/03/11
[Qemu-devel] [PATCH 02/15] qapi: add code generator for type marshallers, Anthony Liguori, 2011/03/11
[Qemu-devel] [PATCH 14/15] qapi: add test-libqmp, Anthony Liguori, 2011/03/11
[Qemu-devel] [PATCH 15/15] qapi: generate HTML report for test-libqmp, Anthony Liguori, 2011/03/11
[Qemu-devel] [PATCH 13/15] qapi: add code generator for libqmp (v2), Anthony Liguori, 2011/03/11