[Qemu-devel] [PATCH 07/10] qapi: place outermost object on qiv stack

2012-03-22 Thread Paolo Bonzini
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

Re: [Qemu-devel] [PATCH 07/10] qapi: place outermost object on qiv stack

2012-03-22 Thread Anthony Liguori
On 03/22/2012 06:51 AM, Paolo Bonzini wrote: 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