qemu: add capability for virtio-input-host-device

Add QEMU_CAPS_VIRTIO_INPUT_HOST for both
virtio-input-host-device and virtio-input-host-pci.
This commit is contained in:
Ján Tomko 2015-11-13 15:41:20 +01:00
parent 7210cef452
commit e9d7550ac2
4 changed files with 6 additions and 0 deletions

View File

@ -307,6 +307,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
"virtio-mouse", "virtio-mouse",
"virtio-tablet", /* 205 */ "virtio-tablet", /* 205 */
"virtio-input-host",
); );
@ -1557,6 +1558,8 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
{ "virtio-mouse-pci", QEMU_CAPS_VIRTIO_MOUSE }, { "virtio-mouse-pci", QEMU_CAPS_VIRTIO_MOUSE },
{ "virtio-tablet-device", QEMU_CAPS_VIRTIO_TABLET }, { "virtio-tablet-device", QEMU_CAPS_VIRTIO_TABLET },
{ "virtio-tablet-pci", QEMU_CAPS_VIRTIO_TABLET }, { "virtio-tablet-pci", QEMU_CAPS_VIRTIO_TABLET },
{ "virtio-input-host-device", QEMU_CAPS_VIRTIO_INPUT_HOST },
{ "virtio-input-host-pci", QEMU_CAPS_VIRTIO_INPUT_HOST },
}; };
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBlk[] = { static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBlk[] = {

View File

@ -334,6 +334,7 @@ typedef enum {
/* 205 */ /* 205 */
QEMU_CAPS_VIRTIO_TABLET, /* -device virtio-tablet-{device,pci} */ QEMU_CAPS_VIRTIO_TABLET, /* -device virtio-tablet-{device,pci} */
QEMU_CAPS_VIRTIO_INPUT_HOST, /* -device virtio-input-host-{device,pci} */
QEMU_CAPS_LAST /* this must always be the last item */ QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags; } virQEMUCapsFlags;

View File

@ -166,4 +166,5 @@
<flag name='virtio-keyboard'/> <flag name='virtio-keyboard'/>
<flag name='virtio-mouse'/> <flag name='virtio-mouse'/>
<flag name='virtio-tablet'/> <flag name='virtio-tablet'/>
<flag name='virtio-input-host'/>
</qemuCaps> </qemuCaps>

View File

@ -167,4 +167,5 @@
<flag name='virtio-keyboard'/> <flag name='virtio-keyboard'/>
<flag name='virtio-mouse'/> <flag name='virtio-mouse'/>
<flag name='virtio-tablet'/> <flag name='virtio-tablet'/>
<flag name='virtio-input-host'/>
</qemuCaps> </qemuCaps>