summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Blake2015-05-04 17:05:31 +0200
committerMarkus Armbruster2015-05-05 18:39:02 +0200
commit4752cdbbf330ac7c593a6f337b97a79648f3f878 (patch)
tree3afdb213c68a2ef9443d91c5730b610098f832d4 /tests
parentqapi: Drop tests for inline nested structs (diff)
downloadqemu-4752cdbbf330ac7c593a6f337b97a79648f3f878.tar.gz
qemu-4752cdbbf330ac7c593a6f337b97a79648f3f878.tar.xz
qemu-4752cdbbf330ac7c593a6f337b97a79648f3f878.zip
qapi: Drop inline nested struct in query-version
A future patch will be using a 'name':{dictionary} entry in the QAPI schema to specify a default value for an optional argument (see previous commit message for more details why); but existing use of inline nested structs conflicts with that goal. This patch fixes one of only two commands relying on nested types, by breaking the nesting into an explicit type; it means that the type is now boxed instead of unboxed in C code, but the QMP wire format is unaffected by this change. Prefer the safer g_new0() while making the conversion. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions