|
From: | clement andrew |
Subject: | Re: USB passthrough using qemu commandline method in libvirt |
Date: | Mon, 2 Mar 2020 12:58:23 +0800 |
Base OS: Ubuntu 18.04.03
Hypervisor: KVM
VM OS: Ubuntu 18.04
Libvirt version: 4.0.0 (default from ubuntu 18.04)
Qemu version: 2.11.1 (default from ubuntu 18.04)
Libusb version: 1.0.0 (default from ubuntu 18.04)
HiI'm trying to do usb passthrough using qemu commandline method in libvirt as below by making changes , but VM failed to create the usb passthrough.<qemu:commandline><qemu:arg value='-device'/><qemu:arg value='usb-host,vendorid=0x0930,productid=0x6545,bus=usb1.0'/></qemu:commandline>While using just normal qemu command, it was passing just fine.sudo qemu-system-x86_64 -enable-kvm -m 2G -cpu host -smp 2 -vga qxl -drive file=/var/lib/libvirt/images/os1.qcow2,index=0,media=disk,format=qcow2 -device usb-host,vendorid=0x0930,productid=0x6545Is there a guide where i can find out information on this ?
Thanks!
[Prev in Thread] | Current Thread | [Next in Thread] |