mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
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:
parent
7210cef452
commit
e9d7550ac2
@ -307,6 +307,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
"virtio-mouse",
|
||||
|
||||
"virtio-tablet", /* 205 */
|
||||
"virtio-input-host",
|
||||
);
|
||||
|
||||
|
||||
@ -1557,6 +1558,8 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
||||
{ "virtio-mouse-pci", QEMU_CAPS_VIRTIO_MOUSE },
|
||||
{ "virtio-tablet-device", 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[] = {
|
||||
|
@ -334,6 +334,7 @@ typedef enum {
|
||||
|
||||
/* 205 */
|
||||
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 */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -166,4 +166,5 @@
|
||||
<flag name='virtio-keyboard'/>
|
||||
<flag name='virtio-mouse'/>
|
||||
<flag name='virtio-tablet'/>
|
||||
<flag name='virtio-input-host'/>
|
||||
</qemuCaps>
|
||||
|
@ -167,4 +167,5 @@
|
||||
<flag name='virtio-keyboard'/>
|
||||
<flag name='virtio-mouse'/>
|
||||
<flag name='virtio-tablet'/>
|
||||
<flag name='virtio-input-host'/>
|
||||
</qemuCaps>
|
||||
|
Loading…
x
Reference in New Issue
Block a user