Jump to content

Cool new feature coming to KVM


jonp

Recommended Posts

Posted

Saw this in the mailing list today.  Pretty freaking awesome...

 

This patch adds support for reading input events directly from linux

evdev devices and forward them to the guest.  Unlike virtio-input-host

which simply passes on all events to the guest without looking at them

this will interpret the events and feed them into the qemu input

subsystem.

 

Therefore this is limited to what the qemu input subsystem and the

emulated input devices are able to handle.  Also there is no support for

absolute coordinates (tablet/touchscreen).  So we are talking here about

basic mouse and keyboard support.

 

The advantage is that it'll work without virtio-input drivers in the

guest, the events are delivered to the usual ps/2 or usb input devices

(depending on what the machine happens to have).  And for keyboards

qemu is able to switch the keyboard between guest and host on hotkey.

The hotkey is hard-coded for now (both control keys), initialy the

guest owns the keyboard.

 

Probably most useful when assigning vga devices with vfio and using a

physical monitor instead of vnc/spice/gtk as guest display.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...