mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
qemu_capabilities: Add QEMU_CAPS_DEVICE_USB_MTP capability
This capability reflects presence of -device usb-mtp. Signed-off-by: Rayhan Faizel <rayhan.faizel@gmail.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
478774eada
commit
e529b7b5c4
@ -705,6 +705,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
/* 455 */
|
||||
"blockjob.backing-mask-protocol", /* QEMU_CAPS_BLOCKJOB_BACKING_MASK_PROTOCOL */
|
||||
"display-reload", /* QEMU_CAPS_DISPLAY_RELOAD */
|
||||
"usb-mtp", /* QEMU_CAPS_DEVICE_USB_MTP */
|
||||
);
|
||||
|
||||
|
||||
@ -1392,6 +1393,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
||||
{ "virtio-crypto-device", QEMU_CAPS_DEVICE_VIRTIO_CRYPTO },
|
||||
{ "cryptodev-backend-lkcf", QEMU_CAPS_OBJECT_CRYPTO_LKCF },
|
||||
{ "pvpanic-pci", QEMU_CAPS_DEVICE_PANIC_PCI },
|
||||
{ "usb-mtp", QEMU_CAPS_DEVICE_USB_MTP },
|
||||
};
|
||||
|
||||
|
||||
|
@ -684,6 +684,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
/* 455 */
|
||||
QEMU_CAPS_BLOCKJOB_BACKING_MASK_PROTOCOL, /* backing-mask-protocol of block-commit/block-stream */
|
||||
QEMU_CAPS_DISPLAY_RELOAD, /* 'display-reload' qmp command is supported */
|
||||
QEMU_CAPS_DEVICE_USB_MTP, /* -device usb-mtp */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -105,6 +105,7 @@
|
||||
<flag name='virtio-blk.queue-size'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>4002000</version>
|
||||
<microcodeVersion>61700242</microcodeVersion>
|
||||
<package>v4.1.0-2221-g36609b4fa3</package>
|
||||
|
@ -105,6 +105,7 @@
|
||||
<flag name='virtio-blk.queue-size'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>4002000</version>
|
||||
<microcodeVersion>42900242</microcodeVersion>
|
||||
<package>v4.1.0-2198-g9e583f2</package>
|
||||
|
@ -143,6 +143,7 @@
|
||||
<flag name='virtio-blk.queue-size'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>4002000</version>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
<package>v4.2.0</package>
|
||||
|
@ -117,6 +117,7 @@
|
||||
<flag name='virtio-iommu-pci'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5000000</version>
|
||||
<microcodeVersion>61700241</microcodeVersion>
|
||||
<package>v5.0.0</package>
|
||||
|
@ -120,6 +120,7 @@
|
||||
<flag name='virtio-iommu-pci'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5000000</version>
|
||||
<microcodeVersion>42900241</microcodeVersion>
|
||||
<package>v5.0.0</package>
|
||||
|
@ -112,6 +112,7 @@
|
||||
<flag name='virtio-iommu-pci'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5000000</version>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
<package>v5.0.0</package>
|
||||
|
@ -152,6 +152,7 @@
|
||||
<flag name='virtio-iommu-pci'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5000000</version>
|
||||
<microcodeVersion>43100241</microcodeVersion>
|
||||
<package>v5.0.0</package>
|
||||
|
@ -156,6 +156,7 @@
|
||||
<flag name='virtio-net.rss'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5001000</version>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
<package>v5.1.0</package>
|
||||
|
@ -124,6 +124,7 @@
|
||||
<flag name='virtio-net.rss'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5002000</version>
|
||||
<microcodeVersion>61700243</microcodeVersion>
|
||||
<package>v5.2.0</package>
|
||||
|
@ -125,6 +125,7 @@
|
||||
<flag name='virtio-net.rss'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5002000</version>
|
||||
<microcodeVersion>42900243</microcodeVersion>
|
||||
<package>v5.2.0</package>
|
||||
|
@ -117,6 +117,7 @@
|
||||
<flag name='virtio-net.rss'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5002000</version>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
<package>v5.2.0</package>
|
||||
|
@ -159,6 +159,7 @@
|
||||
<flag name='virtio-net.rss'/>
|
||||
<flag name='usb-host.guest-resets-all'/>
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>5002000</version>
|
||||
<microcodeVersion>43100243</microcodeVersion>
|
||||
<package>v5.2.0</package>
|
||||
|
@ -135,6 +135,7 @@
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>6000000</version>
|
||||
<microcodeVersion>61700242</microcodeVersion>
|
||||
<package>v6.0.0</package>
|
||||
|
@ -171,6 +171,7 @@
|
||||
<flag name='virtio-crypto'/>
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>6000000</version>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
<package>v6.0.0</package>
|
||||
|
@ -177,6 +177,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>6001000</version>
|
||||
<microcodeVersion>43100243</microcodeVersion>
|
||||
<package>v6.1.0</package>
|
||||
|
@ -148,6 +148,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>6001050</version>
|
||||
<microcodeVersion>61700244</microcodeVersion>
|
||||
<package></package>
|
||||
|
@ -137,6 +137,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>6002000</version>
|
||||
<microcodeVersion>42900244</microcodeVersion>
|
||||
<package>v6.2.0</package>
|
||||
|
@ -179,6 +179,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>6002000</version>
|
||||
<microcodeVersion>43100244</microcodeVersion>
|
||||
<package>v6.2.0</package>
|
||||
|
@ -156,6 +156,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>6002092</version>
|
||||
<microcodeVersion>61700243</microcodeVersion>
|
||||
<package>v7.0.0-rc2</package>
|
||||
|
@ -156,6 +156,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>6002092</version>
|
||||
<microcodeVersion>61700243</microcodeVersion>
|
||||
<package>v7.0.0-rc2</package>
|
||||
|
@ -155,6 +155,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>7000000</version>
|
||||
<microcodeVersion>42900243</microcodeVersion>
|
||||
<package>v7.0.0</package>
|
||||
|
@ -185,6 +185,7 @@
|
||||
<flag name='pvpanic-pci'/>
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>7000000</version>
|
||||
<microcodeVersion>43100243</microcodeVersion>
|
||||
<package>v7.0.0</package>
|
||||
|
@ -156,6 +156,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>7001000</version>
|
||||
<microcodeVersion>42900244</microcodeVersion>
|
||||
<package>v7.1.0</package>
|
||||
|
@ -189,6 +189,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>7001000</version>
|
||||
<microcodeVersion>43100244</microcodeVersion>
|
||||
<package>v7.1.0</package>
|
||||
|
@ -151,6 +151,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>7002000</version>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
<package>qemu-7.2.0-6.fc37</package>
|
||||
|
@ -193,6 +193,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>7002000</version>
|
||||
<microcodeVersion>43100245</microcodeVersion>
|
||||
<package>v7.2.0</package>
|
||||
|
@ -193,6 +193,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>7002000</version>
|
||||
<microcodeVersion>43100245</microcodeVersion>
|
||||
<package>v7.2.0</package>
|
||||
|
@ -139,6 +139,7 @@
|
||||
<flag name='virtio-gpu.blob'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>7002050</version>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
<package>v7.2.0-333-g222059a0fc</package>
|
||||
|
@ -197,6 +197,7 @@
|
||||
<flag name='rbd-encryption-luks-any'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>8000000</version>
|
||||
<microcodeVersion>43100244</microcodeVersion>
|
||||
<package>v8.0.0</package>
|
||||
|
@ -120,6 +120,7 @@
|
||||
<flag name='run-with.async-teardown'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>8001000</version>
|
||||
<microcodeVersion>39100245</microcodeVersion>
|
||||
<package>v8.1.0</package>
|
||||
|
@ -199,6 +199,7 @@
|
||||
<flag name='virtio-blk-vhost-vdpa'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>8001000</version>
|
||||
<microcodeVersion>43100245</microcodeVersion>
|
||||
<package>v8.1.0</package>
|
||||
|
@ -164,6 +164,7 @@
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='virtio-mem-pci.dynamic-memslots'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>8002000</version>
|
||||
<microcodeVersion>61700246</microcodeVersion>
|
||||
<package>v8.2.0</package>
|
||||
|
@ -171,6 +171,7 @@
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='virtio-mem-pci.dynamic-memslots'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>8002000</version>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
<package>qemu-8.2.0-7.fc39</package>
|
||||
|
@ -120,6 +120,7 @@
|
||||
<flag name='run-with.async-teardown'/>
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>8002000</version>
|
||||
<microcodeVersion>39100246</microcodeVersion>
|
||||
<package>v8.2.0</package>
|
||||
|
@ -201,6 +201,7 @@
|
||||
<flag name='smp-clusters'/>
|
||||
<flag name='virtio-mem-pci.dynamic-memslots'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>8002000</version>
|
||||
<microcodeVersion>43100246</microcodeVersion>
|
||||
<package>v8.2.0</package>
|
||||
|
@ -203,6 +203,7 @@
|
||||
<flag name='virtio-mem-pci.dynamic-memslots'/>
|
||||
<flag name='blockjob.backing-mask-protocol'/>
|
||||
<flag name='display-reload'/>
|
||||
<flag name='usb-mtp'/>
|
||||
<version>8002050</version>
|
||||
<microcodeVersion>43100245</microcodeVersion>
|
||||
<package>v8.2.0-952-g14639717bf</package>
|
||||
|
Loading…
Reference in New Issue
Block a user