Hello! I need to create a VM and passthrought some host USB port to it. Sadly libvirt doesn’t support QEMU built-in feature to use -hostport argument (which was added 10 years ago…). I tried to add custom arguments to domain (qemu:commandline) but this didn’t work. When I just run qemu-system-x86_64 -device host-usb,hostbus=X,hostport=Y -usb everything works well. It seems like libvirt restricts some QEMU actions. How can I fix this? OS: Debian 12

  • hornedfiend
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    I could never get that to work for some of my devices,so I had to use virtualbox,which works very well.