Re: [libvirt] [PATCH v2 09/10] qemu: hotplug support for scsi hostdev

2013-04-04 Thread Han Cheng
On 04/03/2013 06:20 PM, Osier Yang wrote: On 01/04/13 20:01, Han Cheng wrote: And user should hotplug a virtio-scsi controller if doesn't exist. I'm wondering if it could be implicitly added. As I know, adding controller implicitly is for back compatibility. New codes don't need to do this.

Re: [libvirt] [PATCH v2 09/10] qemu: hotplug support for scsi hostdev

2013-04-03 Thread Osier Yang
On 01/04/13 20:01, Han Cheng wrote: This patch add hotplug for scsi hostdev. s/add/adds/ And user should hotplug a virtio-scsi controller if doesn't exist. I'm wondering if it could be implicitly added. Usb hostdev related codes are in qemuDomainAttachHostDevice, push down to qemuDomainA

[libvirt] [PATCH v2 09/10] qemu: hotplug support for scsi hostdev

2013-04-01 Thread Han Cheng
This patch add hotplug for scsi hostdev. And user should hotplug a virtio-scsi controller if doesn't exist. Usb hostdev related codes are in qemuDomainAttachHostDevice, push down to qemuDomainAttachHostUsbDevice. Signed-off-by: Han Cheng --- src/qemu/qemu_hotplug.c | 211 +++