QMP: Add QEMU's version to the greeting message
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 4 Feb 2010 20:10:04 +0000 (18:10 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 18:46:05 +0000 (12:46 -0600)
commitdd6375e4c5a09a7300b68b22de2e36451dcf0933
treeba992b0a1c9ca87f2916b77ca7cda2078c6a4b70
parent641c9350445ef7e6694a1bcf609a1ece6e48b869
QMP: Add QEMU's version to the greeting message

With capability negotiation support clients will only have a chance
to check QEMU's version (ie. issue 'query-version') after the
negotiation procedure is done.

It might be useful to clients to check QEMU's version before
negotiating features, though.

To allow that, this commit adds the QEMU's version object to the
greeting message.

Not really sure this is needed, but doesn't hurt anyway.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
QMP/README
QMP/qmp-spec.txt
monitor.c