
On Fri, Nov 20, 2015 at 09:59:35AM +0100, Ján Tomko wrote:
Support virtio-keyboard, virtio-mouse, virtio-tablet and virtio-input-host.
Requires kernel 4.1+ in the guest.
https://www.kraxel.org/blog/2015/06/new-member-in-the-virtio-family-input-de... https://bugzilla.redhat.com/show_bug.cgi?id=1231114
Ján Tomko (8): qemu: add capabilities for virtio input devices conf: parse and format virtio input bus in domain XML qemu: build command line for virtio input devices qemu: add capability for virtio-input-host-device conf: add XML for input device passthrough security: label the evdev for input device passthrough qemu: add passed-through input devs to cgroup ACL qemu: build command line for virtio-input-host device
ACK series. I have only one thing to mention, but it's not in scope of this series, it's an existing behavior. If you define a new guest with mouse/keyboard input device with bus!=ps2 and graphics is defined, then we always add implicit mouse and keyboard with bus=ps2 which leads to having two different mouses and keyboards defined for the guest. We should probably update the code to not add any implicit mouse or keyboard if there is already one. Pavel