qemu-devel
[Top][All Lists]
Advanced

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

USB passthrough using qemu commandline method in libvirt


From: clement andrew
Subject: USB passthrough using qemu commandline method in libvirt
Date: Mon, 2 Mar 2020 12:55:33 +0800

Hi 

I'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=0x6545

Is there a guide where i can find out information on this ? 

Thanks!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]