From: Gerd Hoffmann <kraxel@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@gmail.com>
Cc: virtio-dev@lists.oasis-open.org, QEMU <qemu-devel@nongnu.org>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v3 6/6] virtio-input: evdev passthrough
Date: Tue, 07 Apr 2015 09:53:33 +0200 [thread overview]
Message-ID: <1428393213.15593.29.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <CAJ+F1CKvn+OZ9C49pWyh9U+PHKLFz6WAJLsxihxi5Pi6daYNMA@mail.gmail.com>
On Fr, 2015-04-03 at 00:24 +0200, Marc-André Lureau wrote:
> Hi
>
>
> On Thu, Mar 26, 2015 at 12:26 PM, Gerd Hoffmann <kraxel@redhat.com>
> wrote:
> This allows to assign host input devices to the guest:
>
> qemu -device virto-input-host-pci,evdev=/dev/input/event<nr>
>
>
>
> nitpicking, virto/virtio
Fixed.
> The guest gets exclusive access to the input device, so be
> careful
> with assigning the keyboard if you have only one connected to
> your
> machine.
>
> Why does it need exclusive access?
Because otherwise both host and guest are seeing the keystrokes (or
other events). That most likely is not what you want ...
Try commenting out the EVIOCGRAB ioctl if you wanna see the effects ;)
> (btw, is anyone working on a windows version of the guest driver?)
Not that I know of.
cheers,
Gerd
prev parent reply other threads:[~2015-04-07 7:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-26 11:26 [Qemu-devel] [PATCH v3 0/6] virtio: add input device Gerd Hoffmann
2015-03-26 11:26 ` [Qemu-devel] [PATCH v3 1/6] pci: add PCI_CLASS_INPUT_* Gerd Hoffmann
2015-03-26 11:26 ` [Qemu-devel] [PATCH v3 2/6] virtio-input: add virtio_input.h Gerd Hoffmann
2015-03-26 11:26 ` [Qemu-devel] [PATCH v3 3/6] virtio-input: add linux/input.h Gerd Hoffmann
2015-03-26 11:26 ` [Qemu-devel] [PATCH v3 4/6] virtio-input: core code & base class Gerd Hoffmann
2015-03-26 11:26 ` [Qemu-devel] [PATCH v3 5/6] virtio-input: emulated devices Gerd Hoffmann
2015-03-26 11:26 ` [Qemu-devel] [PATCH v3 6/6] virtio-input: evdev passthrough Gerd Hoffmann
2015-04-02 22:24 ` Marc-André Lureau
2015-04-07 7:53 ` Gerd Hoffmann [this message]
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=1428393213.15593.29.camel@nilsson.home.kraxel.org \
--to=kraxel@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=virtio-dev@lists.oasis-open.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).