aboutsummaryrefslogtreecommitdiff
path: root/hw/input/Makefile.objs
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-03-28 09:18:47 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-06-23 10:32:35 +0200
commit006a5edebe656114e0e0a6fb24b8aae6401c1cf4 (patch)
tree978902c82a04d7cefb8692b62f4fb12bef79e47f /hw/input/Makefile.objs
parent6f2b9a5b24c488d38ace01910c684749ff922e26 (diff)
downloadqemu-006a5edebe656114e0e0a6fb24b8aae6401c1cf4.zip
qemu-006a5edebe656114e0e0a6fb24b8aae6401c1cf4.tar.gz
qemu-006a5edebe656114e0e0a6fb24b8aae6401c1cf4.tar.bz2
virtio-input: evdev passthrough
This allows to assign host input devices to the guest: qemu -device virtio-input-host-pci,evdev=/dev/input/event<nr> 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. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/input/Makefile.objs')
-rw-r--r--hw/input/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/input/Makefile.objs b/hw/input/Makefile.objs
index 0dae710..624ba7e 100644
--- a/hw/input/Makefile.objs
+++ b/hw/input/Makefile.objs
@@ -11,6 +11,7 @@ common-obj-$(CONFIG_VMMOUSE) += vmmouse.o
ifeq ($(CONFIG_LINUX),y)
common-obj-$(CONFIG_VIRTIO) += virtio-input.o
common-obj-$(CONFIG_VIRTIO) += virtio-input-hid.o
+common-obj-$(CONFIG_VIRTIO) += virtio-input-host.o
endif
obj-$(CONFIG_MILKYMIST) += milkymist-softusb.o