qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 25/30] usb-bot: drop not needed "allow_hotplug =


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 25/30] usb-bot: drop not needed "allow_hotplug = 0"
Date: Thu, 25 Sep 2014 09:59:31 +0200

  Hi,

> But there is room for improvement here,
> it it's possible to error out even earlier if usb-bot would be marked
> as not hotpluggable device and add to qdev_device_add() check if
> device is hotpluggable even before it's created.

usb-bot not being hot-pluggable is a consequence of the fact that we can
only hotplug single devices in qemu today.  usb-bot without scsi devices
hooked up is useless.  Plugging in usb-bot first and plugging in disks
later doesn't work (well, could sort-of work when you plug them fast,
but you are racing with the guest initializing the device then).  With
some way to first compose the whole thing (usb-bot + disks), then
plug-in as whole usb-bot hotplugging would work though.

cheers,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]