summary refs log tree commit diff stats
path: root/include/hw/virtio/virtio.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-03-14 14:39:20 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-05-29 10:30:26 +0200
commitf73ddbad397f98c1d476ffbf93d65af1cfa796e6 (patch)
treeaa60c4104d0c821f456d5c18381b12c5115b620e /include/hw/virtio/virtio.h
parent2fe7c31832a345cdc34314cdcd5478d06b884842 (diff)
downloadfocaccia-qemu-f73ddbad397f98c1d476ffbf93d65af1cfa796e6.tar.gz
focaccia-qemu-f73ddbad397f98c1d476ffbf93d65af1cfa796e6.zip
virtio-input: core code & base class [device]
This patch adds virtio-input support to qemu.  It brings a abstract
base class providing core support, other classes can build on it to
actually implement input devices.

virtio-input basically sends linux input layer events (evdev) over
virtio.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw/virtio/virtio.h')
-rw-r--r--include/hw/virtio/virtio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
index 8210cb34f9..ba74765d0b 100644
--- a/include/hw/virtio/virtio.h
+++ b/include/hw/virtio/virtio.h
@@ -188,6 +188,7 @@ int virtio_set_features(VirtIODevice *vdev, uint32_t val);
 typedef struct VirtIOBlkConf VirtIOBlkConf;
 struct virtio_net_conf;
 typedef struct virtio_serial_conf virtio_serial_conf;
+typedef struct virtio_input_conf virtio_input_conf;
 typedef struct VirtIOSCSIConf VirtIOSCSIConf;
 typedef struct VirtIORNGConf VirtIORNGConf;