From: Alan Stern <stern@rowland.harvard.edu>
To: Peter Geis <pgwipeout@gmail.com>
Cc: kvm@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [BUG] KVM USB passthrough did not claim interface before use
Date: Mon, 10 Oct 2022 10:07:16 -0400 [thread overview]
Message-ID: <Y0QnFHqrX2r/7oUz@rowland.harvard.edu> (raw)
In-Reply-To: <CAMdYzYrUOoTmBL2c_+=xLBMXg38Pp4hANnzqxoe1cVDDrFvqTA@mail.gmail.com>
On Mon, Oct 10, 2022 at 09:56:53AM -0400, Peter Geis wrote:
> Good Morning,
>
> I've run into a bug with a new usb device when attempting to pass
> through using qemu-kvm. Another device is passed through without
> issue, and qemu spice passthrough does not exhibit the issue. The usb
> device shows up in the KVM machine, but is unusable. I'm unsure if
> this is a usbfs bug, a qemu bug, or a bug in the device driver.
>
> usb 3-6.2: usbfs: process 365671 (CPU 2/KVM) did not claim interface 0
> before use
> usb 3-6.2: usbfs: process 365671 (CPU 2/KVM) did not claim interface 0
> before use
> usb 3-6.2: usbfs: process 365672 (CPU 3/KVM) did not claim interface 1
> before use
> usb 3-6.2: usbfs: process 365671 (CPU 2/KVM) did not claim interface 0
> before use
> usb 3-6.2: usbfs: process 365672 (CPU 3/KVM) did not claim interface 0
> before use
> usb 3-6.2: usbfs: process 365672 (CPU 3/KVM) did not claim interface 0
> before use
These are warnings, not bugs, although one could claim that the warnings
are caused by a bug in qemu-kvm.
> The host system is Ubuntu 22.04.
> The qemu version is as shipped: QEMU emulator version 6.2.0 (Debian
> 1:6.2+dfsg-2ubuntu6.3)
> The host kernel version is: 5.15.0-48-generic #54-Ubuntu SMP Fri Aug
> 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
>
> The VM is HomeAssistant, running kernel 5.15.67. Issue was also
> observed on kernel version 5.10.
Does the device work if your virtual machine has only one CPU?
Alan Stern
next prev parent reply other threads:[~2022-10-10 14:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-10 13:56 [BUG] KVM USB passthrough did not claim interface before use Peter Geis
2022-10-10 14:07 ` Alan Stern [this message]
2022-10-10 14:22 ` Peter Geis
2022-10-10 15:01 ` Alan Stern
2022-10-11 18:49 ` Peter Geis
2022-10-12 21:14 ` Alan Stern
2022-10-16 0:36 ` Peter Geis
2022-10-16 1:33 ` Alan Stern
2022-10-23 18:14 ` Peter Geis
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=Y0QnFHqrX2r/7oUz@rowland.harvard.edu \
--to=stern@rowland.harvard.edu \
--cc=kvm@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=pgwipeout@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.