[libvirt] [PATCH v3 REBASE 2 00/12] hostdev: handle usb detach/attach on node

Jiri Denemark jdenemar at redhat.com
Tue Nov 5 14:54:09 UTC 2019


Hi Dave,

Time flies, doesn't it? :-)

My reply is not related to this patch series, but rather your use
case...

On Thu, Oct 31, 2019 at 12:50:28 -0400, Dave Allan wrote:
> My usecase is that I'm flashing the USB device with a program running
> in the VM.  I keep the VM running, and when I need to reflash, I
> connect the device, so having the startupPolicy optional is useful.

Have you tried using redirdev for this? It might be much more
convenient. You can dynamically attach a USB device to your host while
the domain is running and select it to be passed to the guest in your
spice client (both virt-manager and virt-viewer support this).

Jirka




More information about the libvir-list mailing list