virtio-input: implement pass-through evdev writes
commit1a782629f668875955f4f08ac8f11de752d71298
authorLadi Prosek <lprosek@redhat.com>
Fri, 1 Apr 2016 11:45:46 +0000 (1 13:45 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 13 Apr 2016 13:52:28 +0000 (13 15:52 +0200)
tree141421a494fefd9ba1e62e4182b3ca579de1411e
parent848c4d4480561154ada54851ba411aea3977c771
virtio-input: implement pass-through evdev writes

The write path for pass-through devices, commonly used for controlling
keyboard LEDs via EV_LED, was not implemented. This commit adds the
necessary plumbing to connect the status virtio queue to the host evdev
file descriptor.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Message-id: 1459511146-12060-1-git-send-email-lprosek@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/virtio-input-host.c