From: bugzilla-daemon@bugzilla.kernel.org
To: kvm@kernel.org
Subject: [Bug 196527] Terrible KVM USB passthrough performance
Date: Thu, 10 Aug 2017 12:34:25 +0000 [thread overview]
Message-ID: <bug-196527-28872-dOIFwy5dQt@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-196527-28872@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=196527
heyark (kvm-usb@suremail.info) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kvm-usb@suremail.info
--- Comment #1 from heyark (kvm-usb@suremail.info) ---
I have to agree here.
In my case, I tried to use two USB devices inside a KVM VM - and failed with
both due to timeout issues.
I pass them through to the VM using kvm parameters -usb -usbdevice
host:[vendorId]:[deviceId].
They are visible inside using lsusb. But trying to access them, both cannot be
used, while there is no problem using them directly on the host machine
(current Ubuntu 16.04.3 on a Core i5 7500).
One is a HomeMatic USB-sender
(http://www.fhemwiki.de/wiki/HM-CFG-USB_USB_Konfigurations-Adapter), the other
one is a smartcard reader.
In case of the Homematic, the driver (hmland) always says:
usb-transfer took more than 100ms (125ms), this may lead to timing problems!
And the warning is right: nothing works, nothing gets received (using the stick
outside the VM works great).
Maybe the usb passthrough works generally with less sensible devices (did not
try an USB stick or something), but obviously the performance in handling this
is so bad, that any device that needs a proper timing is not usable.
Probably USB devices at servers are rare in the professional environments where
kvm is heavily used, nonetheless this is very disappointing. It definitely
limits the use of KVM virtualization.
Probably not a good sign too, that the following page is empty:
https://www.linux-kvm.org/page/UsbPassthrough
Is there any chance this will be cared for soon? Some kind of higher priority
for handling the USB passthrough?
Thanks!
--
You are receiving this mail because:
You are watching the assignee of the bug.
next prev parent reply other threads:[~2017-08-10 12:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 22:42 [Bug 196527] New: Terrible KVM USB passthrough performance bugzilla-daemon
2017-08-10 12:34 ` bugzilla-daemon [this message]
2017-08-10 12:38 ` [Bug 196527] " bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-196527-28872-dOIFwy5dQt@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@bugzilla.kernel.org \
--cc=kvm@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox