[vfio-users] [PATCH 2/2] input: linux evdev support

Gerd Hoffmann kraxel at redhat.com
Thu Nov 19 15:26:21 UTC 2015


  Hi,

> Fantastic update, I just compiled and tried out this patch. It’s
> working alright, like you said initially the keyboard and mouse are
> owned by the guest. I didn’t felt any lag or so. Still testing
> though. 
> 
> However I cannot switch the keyboard and mouse back to the host while
> the guest is still running.

It'll switch the keyboard only, not sure yet how to handle mice
switching best.

> What is the hotkey? Is it pressing both Ctrl keys together at the same
> time?

Yes, press both at the same time (and release, the actual switch is
delayed until no key is pressed any more to avoid keys being stuck in
pressed state).  And you have to use the keyboard you've assigned to the
guest for that.

> I was testing using the USB mouse and keyboard usually intended for
> the guest, and aside from switching back to the host, I think there is
> no issue. Currently my setup are 2 mouses (USB and PS/2) and 2
> keyboards (both USB). Where I could find the PS/2 event device? 

/dev/input/by-path/platform-i8042-serio-0-event-kbd

cheers,
  Gerd





More information about the vfio-users mailing list