Public bug reported:

After upgrading from qemu version 2.6.2 to 2.7.9 I can't boot my vm
anymore. I get this error:

qemu-system-x86_64: -usbdevice host:046d:c227: could not add USB device
'host:046d:c227'

This happens with every usb-device I tried. Works 2.6.2 without any errors. 
(also tried in 2.7.0, same error)
I use the following script:


qemu-system-x86_64 \
-enable-kvm \
-m 16392 \
-cpu host,kvm=off \
-smp 4,sockets=1,cores=2,threads=2,maxcpus=4 \
-usb -usbdevice host:046d:c227 -usbdevice host:046d:c226 \
-vga none \
-device vfio-pci,host=01:00.0,multifunction=on \
-device vfio-pci,host=01:00.1 \
-drive 
if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd
 \
-drive if=pflash,format=raw,file=/tmp/my_vars.fd \
-device virtio-scsi-pci,id=scsi \
-drive file=/var/iso/win10.iso,id=isocd,format=raw,if=none -device 
scsi-cd,drive=isocd \
-drive 
file=/home/marius/images/windows10.img,id=disk,format=raw,if=none,cache=writeback
 -device scsi-hd,drive=disk \
-drive file=/var/iso/virtio-win-0.1.126.iso,id=virtiocd,if=none,format=raw 
-device ide-cd,bus=ide.1,drive=virtiocd

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: usb

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1643342

Title:
  not able to passthrough mouse / keyboard

Status in QEMU:
  New

Bug description:
  After upgrading from qemu version 2.6.2 to 2.7.9 I can't boot my vm
  anymore. I get this error:

  qemu-system-x86_64: -usbdevice host:046d:c227: could not add USB
  device 'host:046d:c227'

  This happens with every usb-device I tried. Works 2.6.2 without any errors. 
(also tried in 2.7.0, same error)
  I use the following script:

  
  qemu-system-x86_64 \
  -enable-kvm \
  -m 16392 \
  -cpu host,kvm=off \
  -smp 4,sockets=1,cores=2,threads=2,maxcpus=4 \
  -usb -usbdevice host:046d:c227 -usbdevice host:046d:c226 \
  -vga none \
  -device vfio-pci,host=01:00.0,multifunction=on \
  -device vfio-pci,host=01:00.1 \
  -drive 
if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd
 \
  -drive if=pflash,format=raw,file=/tmp/my_vars.fd \
  -device virtio-scsi-pci,id=scsi \
  -drive file=/var/iso/win10.iso,id=isocd,format=raw,if=none -device 
scsi-cd,drive=isocd \
  -drive 
file=/home/marius/images/windows10.img,id=disk,format=raw,if=none,cache=writeback
 -device scsi-hd,drive=disk \
  -drive file=/var/iso/virtio-win-0.1.126.iso,id=virtiocd,if=none,format=raw 
-device ide-cd,bus=ide.1,drive=virtiocd

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1643342/+subscriptions

Reply via email to