Host attached usb device lost during a managedsave/start sequence

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

 



Hi,

using libvirt 7.1.0, qemu-kvm 5.2.0 on a host with kernel 5.11.6 (otherwise 
Leap 15.2), I noticed an issue within a managedsave/start sequence.

After resuming a w2k19 client, accessing a host attached usb device fails. 
It is still attached, but the client doesn't recognize the device anymore. 

Reattaching fails with:

$ virsh attach-device fs2k19 /work/libvirt/devices/fs2k19.xml 
error: Failed to attach device from /work/libvirt/devices/fs2k19.xml
error: Angeforderte Operation ist nicht gültig: USB device 001:007 is in use 
by driver QEMU, domain fs2k19

Manually detaching and reattaching it works fine:

$ virsh detach-device fs2k19 /work/libvirt/devices/fs2k19.xml 
Device detached successfully

virsh attach-device fs2k19 /work/libvirt/devices/fs2k19.xml 
Device attached successfully

Let me know, if you need more details on this.

Pete






[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux