qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] QEMU 2.1.2 w/ libvirt - USB host assignment doesn't work


From: Erik Rull
Subject: [Qemu-devel] QEMU 2.1.2 w/ libvirt - USB host assignment doesn't work
Date: Thu, 25 Feb 2016 15:17:50 +0100 (CET)

Hi all,


I started with QEMU emulator version 2.1.2 backport on ubuntu 14.04 (I also tried the QEMU 2.0.0 that is provided natively with this version) and I can't get the USB device redirection working properly.

No idea what actually goes wrong. I have the 32 bit version running properly without any problems on other systems.

Below the usbhost and usb output from monitor + commandline.

I would like to have the device from hostbus 1 / hostport 2 routed to my guest.

Any help appreciated.

Thanks.

Best regards,

Erik

info usb:

Device 0.0, Port 1, Speed 1.5 Mb/s, Product USB Host Device

into usbhost:

  Bus 1, Addr 8, Port 3.3, Speed 480 Mb/s
    Class 00: USB device 13fd:1340
  Bus 1, Addr 15, Port 2, Speed 480 Mb/s
    Class 00: USB device 1b1c:1a06
  Bus 1, Addr 4, Port 14, Speed 1.5 Mb/s
    Class 00: USB device 413c:2107
  Bus 1, Addr 3, Port 13, Speed 1.5 Mb/s
    Class 00: USB device 0461:4e22
  Bus 1, Addr 2, Port 10, Speed 480 Mb/s
    Class 00: USB device 0bda:0184

Commandline:

qemu-system-x86_64 -enable-kvm -name win10 -S -machine pc-i440fx-trusty,accel=kvm,usb=off -cpu SandyBridge,+invpcid,+erms,+bmi2,+smep,+avx2,+bmi1,+fsgsbase,+abm,+pdpe1gb,+rdrand,+f16c,+osxsave,+movbe,+dca,+pcid,+pdcm,+xtpr,+fma,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -m 3072 -realtime mlock=off -smp 1,maxcpus=2,sockets=1,cores=1,threads=2 -uuid 4c4c4544-0058-5a10-8031-b7c04f564232 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/win10-cookiemonster.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot order=dc,menu=on,strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,multifunction=on,addr=0x5.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,multifunction=on,addr=0x5.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,multifunction=on,addr=0x5.0x2 -device ahci,id=ahci0,bus=pci.0,addr=0x7 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 -drive file=/dev/sde,if=none,id=drive-sata0-0-0,format=raw -device ide-hd,bus=ahci0.0,drive=drive-sata0-0-0,id=sata0-0-0 -drive file=/home/erik/images/Win10_1511_German_x64.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=25,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:93:a3:b5,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 -device usb-host,hostbus=1,hostport=2,id=hostdev1 -msg timestamp=on


reply via email to

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