Re: [Qemu-devel] [PULL v3 11/12] qdev: Protect device-list-properties against broken devices

2015-10-09 Thread Andreas Färber
Am 09.10.2015 um 16:36 schrieb Markus Armbruster: > Several devices don't survive object_unref(object_new(T)): they crash > or hang during cleanup, or they leave dangling pointers behind. > > This breaks at least device-list-properties, because > qmp_device_list_properties() needs to create a devi

[Qemu-devel] [PULL v3 11/12] qdev: Protect device-list-properties against broken devices

2015-10-09 Thread Markus Armbruster
Several devices don't survive object_unref(object_new(T)): they crash or hang during cleanup, or they leave dangling pointers behind. This breaks at least device-list-properties, because qmp_device_list_properties() needs to create a device to find its properties. Broken in commit f4eb32b "qmp: s