Thanks David, so it might be issues with special HW types.
I'm glad you identified quirks to loas uas with to mitigate the issue - this 
might help others being affected.

But until I have a local reproducer to debug in-depth I'm not sure I can
do more on the libvirt side (and even then no promises if it ends up to
be very HW/FW specific).

I'll add a kernel tasks just in case this might be known over there from
the USB storage POV.

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: bot-stop-nagginf

** Tags removed: bot-stop-nagginf
** Tags added: bot-stop-nagging

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1815588

Title:
  speed mismatch trying to attach usb device to guest vm

Status in libvirt package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Distro: 18.04.02, just recently upgraded from 16.04
  MachineType: LENOVO 20J7S02N00

  All of the machines USB ports are USB 3.0

  I added the USB drive from virt-managers UI. Trying to start the guest
  vm results in:

  Error starting domain: internal error: process exited while connecting to 
monitor: 2019-02-12T11:12:16.334471Z qemu-system-x86_64: -device 
usb-host,hostbus=2,hostaddr=2,id=hostdev0,bus=usb.0,port=1: Warning: speed 
mismatch trying to attach usb device "Porsche Desktop" (super speed) to bus 
"usb.0", port "1" (full+high speed)
  2019-02-12T11:12:16.485645Z qemu-system-x86_64: -device 
usb-host,hostbus=2,hostaddr=2,id=hostdev0,bus=usb.0,port=1: failed to open host 
usb device 2:2

  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in 
cb_wrapper
      callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb
      callback(*args, **kwargs)
    File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 82, in 
newfn
      ret = fn(self, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/domain.py", line 1508, in startup
      self._backend.create()
    File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1062, in create
      if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
  libvirtError: internal error: process exited while connecting to monitor: 
2019-02-12T11:12:16.334471Z qemu-system-x86_64: -device 
usb-host,hostbus=2,hostaddr=2,id=hostdev0,bus=usb.0,port=1: Warning: speed 
mismatch trying to attach usb device "Porsche Desktop" (super speed) to bus 
"usb.0", port "1" (full+high speed)
  2019-02-12T11:12:16.485645Z qemu-system-x86_64: -device 
usb-host,hostbus=2,hostaddr=2,id=hostdev0,bus=usb.0,port=1: failed to open host 
usb device 2:2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1815588/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to