[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 18/22] qapi: add QMP qmp_capabilities command
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [PATCH 18/22] qapi: add QMP qmp_capabilities command |
Date: |
Sun, 6 Mar 2011 19:23:00 -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 3a4d240..72e4fea 100644
--- a/qmp-core.c
+++ b/qmp-core.c
@@ -393,3 +393,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-core.h b/qmp-core.h
index 808edf3..d15d349 100644
--- a/qmp-core.h
+++ b/qmp-core.h
@@ -82,4 +82,6 @@ void qmp_state_event(QmpConnection *conn, QObject *data);
void qmp_init_chardev(CharDriverState *chr);
+void qmp_qmp_capabilities(QmpState *state, Error **errp);
+
#endif
diff --git a/qmp-schema.json b/qmp-schema.json
index 0581e67..3f2dd4e 100644
--- a/qmp-schema.json
+++ b/qmp-schema.json
@@ -48,3 +48,13 @@
# Since: 0.14.0
##
[ 'quit', {}, {}, 'none' ]
+
+##
+# @qmp_capabilities:
+#
+# Currently a nop command. To communicate with older servers, this should be
+# sent first before executing new commands.
+#
+# Since: 0.14.0
+##
+[ 'qmp_capabilities', {}, {}, 'none' ]
--
1.7.0.4
- [Qemu-devel] [PATCH 02/22] qerror: expose a function to format an error, (continued)
[Qemu-devel] [PATCH 17/22] qapi: add QMP quit command, Anthony Liguori, 2011/03/06
[Qemu-devel] [PATCH 18/22] qapi: add QMP qmp_capabilities command,
Anthony Liguori <=
[Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Anthony Liguori, 2011/03/06
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Avi Kivity, 2011/03/09
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Anthony Liguori, 2011/03/09
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Avi Kivity, 2011/03/09
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Anthony Liguori, 2011/03/09
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Avi Kivity, 2011/03/10
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Anthony Liguori, 2011/03/10
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Avi Kivity, 2011/03/10
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Avi Kivity, 2011/03/10
- Re: [Qemu-devel] [PATCH 19/22] qapi: add QMP put-event command, Anthony Liguori, 2011/03/10