[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [libvirt] [PATCH 3/5] qemu: add usb-bot support from di
Re: [Qemu-devel] [libvirt] [PATCH 3/5] qemu: add usb-bot support from disks points of view
Tue, 03 Sep 2013 14:06:44 +0200
> > > How does this work if we start off a guest with 3 disks
> > > attached to the usb-bot SCSI controller. Then hot-unplug
> > > the 2nd disk.
> > You can't hotplug individual luns anyway.
> How does hotplug/unplug work in the context of usb-bot ?
> AFAIK we need to be able to run
> device_add usb_bot
> drive_add file...
> device_add scsi-hd
> And the reverse, to unplug it, if we're to have feature parity with
Hot-unplug is easy. You can remove the usb-bot device which will also
remove all child devices.
Hot-plug doesn't work at the moment, and I don't see any obvious way to
fix that properly :-(
We need some way to hotplug a *group* of devices (usb-bot + all
children) as usb-bot itself is hotpluggable but the individual scsi
devices connected to it are not.
I could allow hotplug on usb-bot as workaround, then you can do
but that would be more a gross hack than a solution ...