Re: [Qemu-devel] [PATCH v2 17/36] qdev: add wrapper to set BUS as HotplugHandler

2014-09-29 Thread Paolo Bonzini
Il 26/09/2014 11:28, Igor Mammedov ha scritto: > to be used for conversion of SCSI and USB devices, > and would allow to make every HBA/USB host switch > to HotplugHandler API without touching each controller > explicitly. > > Signed-off-by: Igor Mammedov > --- > hw/core/qdev.c | 19

[Qemu-devel] [PATCH v2 17/36] qdev: add wrapper to set BUS as HotplugHandler

2014-09-26 Thread Igor Mammedov
to be used for conversion of SCSI and USB devices, and would allow to make every HBA/USB host switch to HotplugHandler API without touching each controller explicitly. Signed-off-by: Igor Mammedov --- hw/core/qdev.c | 19 +++ include/hw/qdev-core.h | 11 --- 2 fil