]> git.ipfire.org Git - thirdparty/qemu.git/commit
qmp: common 'id' handling & make QGA conform to QMP spec
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 20 Feb 2019 15:42:53 +0000 (16:42 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 18 Mar 2019 15:48:06 +0000 (10:48 -0500)
commit4eaca8de268d74ac5daaf8938abcb69d37ba2889
tree1723cafb6a59b7e4df3d266fb4e2d0b196b56a15
parent781f2b3d1e5ef389b44016a897fd55e7a780bf35
qmp: common 'id' handling & make QGA conform to QMP spec

Let qmp_dispatch() copy the 'id' field. That way any qmp client will
conform to the specification, including QGA. Furthermore, it
simplifies the work for qemu monitor.

CC: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
monitor.c
qapi/qmp-dispatch.c
tests/test-qga.c