Hi all
I have a keyboard and mouse attached to a USB switcher. The underlying devices are visible to my host so I pass them through to a VM and it all works fine
If I switch away from the host though, the USB devices detach and it seems QEMU instantly kills the VM.
I'm taking this as a QEMU problem rather than specific to proxmox but just wondering if there are any flags I can use to mitigate this?
I have a keyboard and mouse attached to a USB switcher. The underlying devices are visible to my host so I pass them through to a VM and it all works fine
If I switch away from the host though, the USB devices detach and it seems QEMU instantly kills the VM.
I'm taking this as a QEMU problem rather than specific to proxmox but just wondering if there are any flags I can use to mitigate this?
Code:
Oct 26 13:02:12 yuzuki QEMU[21530]: kvm: hw/usb/core.c:546: usb_packet_check_state: Assertion `!"usb packet state check failed"' failed.
Oct 26 13:02:12 yuzuki kernel: [133108.007504] usb 6-2: USB disconnect, device number 5
Oct 26 13:02:12 yuzuki kernel: [133108.008308] vmbr0: port 4(tap101i0) entered disabled state
Oct 26 13:02:12 yuzuki kernel: [133108.011313] vmbr0: port 4(tap101i0) entered disabled state
Oct 26 13:02:13 yuzuki qmeventd[1066]: Starting cleanup for 101
Oct 26 13:02:13 yuzuki qmeventd[1066]: Finished cleanup for 101
Oct 26 13:02:14 yuzuki systemd[1]: 101.scope: Succeeded.