From: Michal Suchanek <hramrach@gmail.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] USB passthrough in qemu
Date: Thu, 12 Jun 2014 18:00:50 +0200 [thread overview]
Message-ID: <CAOMqctQFUSFpiK7QBf44g+aEF4mmZJ7cyBQjSoMKsxdeDf4UMg@mail.gmail.com> (raw)
In-Reply-To: <1402568812.21444.1.camel@nilsson.home.kraxel.org>
On 12 June 2014 12:26, Gerd Hoffmann <kraxel@redhat.com> wrote:
> Hi,
>
>> However, for the piix4 which is the default platform and is desirable
>> due to driver issues in many cases no simple way to instantiate the
>> companion setup and have qemu automagically attach the devices
>> correctly exists.
>
> We havn't added shortcuts like this to qemu for a while. There are a
> bunch of other new things which don't have a shorthand command line
> switch too. I suspect -usb2 wouldn't be very welcome @ qemu-devel. You
> can try sending a patch though, shouldn't be hard, code is there as q35
> uses it.
>
> There is also the option to stick things into a config file (see
> docs/q35-chipset.cfg for an example), then do "-readconfig usb2.cfg".
Maybe such config file or a pc-usb2 machine specification would work then.
>
>> > If the guest is new enough that it has drivers you can also simply use
>> > xhci.
>>
>> What xhci hub is emulated?
>
> nec.
That seems to work with Windows 7, at least the real hardware.
However,
-device nec-usb-xhci -usbdevice host:0b95:772b -usbdevice tablet
gives empy xhci bus and both devices attached to uhci bus which does not work.
The example in usb2.txt only shows how to manually specify to which
bus the usb devices are to be attached but there is no example of
making usb devices just work.
Thanks
Michal
next prev parent reply other threads:[~2014-06-12 16:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-12 8:53 [Qemu-devel] USB passthrough in qemu Michal Suchanek
2014-06-12 9:08 ` Gerd Hoffmann
2014-06-12 9:25 ` Michal Suchanek
2014-06-12 10:26 ` Gerd Hoffmann
2014-06-12 16:00 ` Michal Suchanek [this message]
2014-06-13 7:33 ` Gerd Hoffmann
2014-06-13 7:46 ` Michal Suchanek
2014-06-13 8:12 ` Gerd Hoffmann
2014-06-13 14:26 ` Michal Suchanek
2014-06-13 14:51 ` Gerd Hoffmann
2014-06-13 16:45 ` Michal Suchanek
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=CAOMqctQFUSFpiK7QBf44g+aEF4mmZJ7cyBQjSoMKsxdeDf4UMg@mail.gmail.com \
--to=hramrach@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).