[Novalug] FIXED Re: more info Re: KVM, libvirt and usb passthrough
greg at pryzby.org
Sun Nov 29 14:31:44 EST 2009
If you add a USB device in virt-manager, is uses vendor/product id.
Instead use BUS/DEVICE in the XML file and it works.
Gotta open a bug
On 11/29/2009 10:11 AM, greg pryzby wrote:
> On 11/28/2009 09:36 PM, greg pryzby wrote:
>> I had this working in Fedora 11 and did a reinstall. I don't recall
>> doing anything special and I was able to assign a USB physical device to
>> a VM (via virt-manager and saw the value set in the XML file).
>> Now, I assign the USB device, but it isn't seen by the VM.
>> It is seen properly by the host
>> I am off to search the internet for help.
> I thought maybe it was SELINUX, I turned it off for now... nope.
> I did find some info in /var/log/libvirt/qemu/<name-of-vm>
> (returns added between wrapped lines)
> LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none
> /usr/bin/qemu-kvm -S -M pc-0.11 -m 1024 -smp 1 -name
> 190-hdpvr-f12-mythtv22 -uuid bd4c8673-3fb7-62de-4ba8-fc5fb3b47dbc
> -boot c -drive
> -net nic,macaddr=52:54:00:0c:59:d9,vlan=0,model=virtio,name=virtio.0
> -net tap,fd=18,vlan=0,name=tap.0 -serial pty -parallel none -usb
> -usbdevice tablet -vnc 127.0.0.1:0 -vga cirrus -soundhw es1370
> -usbdevice host:2040:4902
> char device redirected to /dev/pts/1
> husb: open device 1.3
> /dev/bus/usb/001/003: Permission denied
> Warning: could not add USB device host:2040:4902
> back to searching...
greg at pryzby dot org
More information about the Novalug