]> git.proxmox.com Git - mirror_qemu.git/commit - monitor.c
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)
commitca9567e23454ca94e3911710da4e953ad049b40f
treeba992b0a1c9ca87f2916b77ca7cda2078c6a4b70
parent4ab4183d766f10f9fc35cd9ef4acee39f241986f
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