Re: [Qemu-devel] [PATCH v12 28/36] qapi: Simplify QObject

2015-11-18 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 all two elements of the vtable QType > directly int

[Qemu-devel] [PATCH v12 28/36] qapi: Simplify QObject

2015-11-18 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 all two elements of the vtable QType directly into QObject. We can drop qnull_d