[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 6/6] virtio-input: evdev passthrough
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v3 6/6] virtio-input: evdev passthrough |
Date: |
Tue, 07 Apr 2015 09:53:33 +0200 |
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 <address@hidden>
> 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