summary refs log tree commit diff stats
path: root/test-qmp-commands.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-03-22 12:51:09 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2012-03-27 09:15:08 -0300
commit4faaec6acf7f18b39c362edb9f6aa5658aab8b85 (patch)
treec4f9f9fcb4f3e7b914c841833f534c3ba97658aa /test-qmp-commands.c
parent3a86a0fa76b5103a122b6e817b3827b2837f4956 (diff)
downloadfocaccia-qemu-4faaec6acf7f18b39c362edb9f6aa5658aab8b85.tar.gz
focaccia-qemu-4faaec6acf7f18b39c362edb9f6aa5658aab8b85.zip
qapi: place outermost object on qiv stack
This is a slight change in the implementation of QMPInputVisitor
that helps when adding strict mode.

Const QObjects cannot be inc/decref-ed, and that's why QMPInputVisitor
relies heavily on weak references to inner objects.  I'm not removing
the weak references now, but since refcount+const is a lost battle in C
(C++ has "mutable") I think removing const is fine in this case.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'test-qmp-commands.c')
0 files changed, 0 insertions, 0 deletions