Re: [Qemu-devel] [PATCH for-2.9] qom: Make all interface types abstract

2016-12-13 Thread Markus Armbruster
Eduardo Habkost writes: > On Mon, Dec 12, 2016 at 03:04:25PM +0100, Andreas Färber wrote: >> Am 09.12.2016 um 19:06 schrieb Eduardo Habkost: >> > "qom-list-types abstract=false" currently returns all interface >> > types, as if they were not abstract. Fix this by making sure all >> > interface ty

Re: [Qemu-devel] [PATCH for-2.9] qom: Make all interface types abstract

2016-12-12 Thread Eduardo Habkost
On Mon, Dec 12, 2016 at 03:04:25PM +0100, Andreas Färber wrote: > Am 09.12.2016 um 19:06 schrieb Eduardo Habkost: > > "qom-list-types abstract=false" currently returns all interface > > types, as if they were not abstract. Fix this by making sure all > > interface types are abstract. > > > > All i

Re: [Qemu-devel] [PATCH for-2.9] qom: Make all interface types abstract

2016-12-12 Thread Andreas Färber
Am 09.12.2016 um 19:06 schrieb Eduardo Habkost: > "qom-list-types abstract=false" currently returns all interface > types, as if they were not abstract. Fix this by making sure all > interface types are abstract. > > All interface types have instance_size == 0, so we can use > it to set abstract=t

[Qemu-devel] [PATCH for-2.9] qom: Make all interface types abstract

2016-12-09 Thread Eduardo Habkost
"qom-list-types abstract=false" currently returns all interface types, as if they were not abstract. Fix this by making sure all interface types are abstract. All interface types have instance_size == 0, so we can use it to set abstract=true on Signed-off-by: Eduardo Habkost --- qom/object.c