OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [Qemu-devel] [PATCH v3 6/6] virtio-input: evdev passthrough


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






[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]