Re: [Qemu-devel] [PATCH v13 01/14] qobject: Simplify QObject

2015-11-26 Thread Markus Armbruster
Eric Blake writes: > The QObject hierarchy is small enough, and unlikely to grow further > (since we only use it to map to JSON and already cover all JSON > types), that we can simplify things by not tracking a separate > vtable, but just inline the refcnt element of the vtable QType > directly i

Re: [Qemu-devel] [PATCH v13 01/14] qobject: Simplify QObject

2015-11-26 Thread Markus Armbruster
Eric Blake writes: > The QObject hierarchy is small enough, and unlikely to grow further > (since we only use it to map to JSON and already cover all JSON > types), that we can simplify things by not tracking a separate > vtable, but just inline the refcnt element of the vtable QType > directly i

[Qemu-devel] [PATCH v13 01/14] qobject: Simplify QObject

2015-11-20 Thread Eric Blake
The QObject hierarchy is small enough, and unlikely to grow further (since we only use it to map to JSON and already cover all JSON types), that we can simplify things by not tracking a separate vtable, but just inline the refcnt element of the vtable QType directly into QObject, and track a separa