Re: [Qemu-devel] [PATCH 01/11] qdev: export and use qbus_init

2012-12-18 Thread Andreas Färber
Am 05.12.2012 21:44, schrieb Paolo Bonzini: BusState subclasses need to do their own allocation because qbus_create_inplace calls object_initialize (which wipes out the free callback). This patch separates the initialization of the object (object_initialize) from its insertion in the qdev

[Qemu-devel] [PATCH 01/11] qdev: export and use qbus_init

2012-12-05 Thread Paolo Bonzini
BusState subclasses need to do their own allocation because qbus_create_inplace calls object_initialize (which wipes out the free callback). This patch separates the initialization of the object (object_initialize) from its insertion in the qdev tree (qbus_realize); to do so, it moves the