From: Lin Ma <lma@suse.com>
To: kraxel@redhat.com
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] About usb passthru and speed mismatch
Date: Thu, 11 Jun 2015 23:47:35 +0800 [thread overview]
Message-ID: <5579AD97.1080906@suse.com> (raw)
Hi Gerd,
Based on the current implementation of 'usb_host_open' in
hw/usb/host-libusb.c,
When user performs usb_add, The usb device will be detached from kernel
first, Then be checked for speed mismatch second.
If it found speed mismatch, The usb device isn't attached to guest, But
the usb device can't be reattached to kernel either.
I'd like to write patch to add 'usb_check_attach' before detaching the
device from kernel _or_ add 'usb_host_attach_kernel' under 'fail:' of
usb_host_open, (the latter doesn't make sense I think).
May I have your thoughts?
BTW, Have you missed a patch: "usb: Use usb_bus_find(-1) instead of
usb_enabled() in usb_device_add/usb_device_del" which sending on June
4th ? May I have your thoughts about that patch as well?
Thanks,
Lin
next reply other threads:[~2015-06-11 15:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-11 15:47 Lin Ma [this message]
2015-06-16 13:21 ` [Qemu-devel] About usb passthru and speed mismatch Gerd Hoffmann
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=5579AD97.1080906@suse.com \
--to=lma@suse.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.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 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.