]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: introduce QEMU_CAPS_DEVICE_QEMU_XHCI
authorPavel Hrdina <phrdina@redhat.com>
Fri, 28 Apr 2017 08:44:03 +0000 (10:44 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Fri, 28 Apr 2017 08:44:03 +0000 (10:44 +0200)
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Acked-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_2.9.0.x86_64.xml

index d34790768dfb2aaaddc4d6f8811d848c031ea3fd..8bc3ea026078e2994de17a719d1182f160eb7b99 100644 (file)
@@ -365,6 +365,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
               "block-write-threshold",
               "query-named-block-nodes",
               "cpu-cache",
+              "qemu-xhci",
     );
 
 
@@ -1610,6 +1611,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
     { "vhost-scsi", QEMU_CAPS_DEVICE_VHOST_SCSI },
     { "nvdimm", QEMU_CAPS_DEVICE_NVDIMM },
     { "pcie-root-port", QEMU_CAPS_DEVICE_PCIE_ROOT_PORT },
+    { "qemu-xhci", QEMU_CAPS_DEVICE_QEMU_XHCI },
 };
 
 static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsVirtioBalloon[] = {
index 47649c945c2d9b08fde39a0a7c709afc2f73fcd6..06a43ab36b2011e701b1d452b52b97a266849f2f 100644 (file)
@@ -402,6 +402,7 @@ typedef enum {
     QEMU_CAPS_BLOCK_WRITE_THRESHOLD, /* BLOCK_WRITE_THRESHOLD event */
     QEMU_CAPS_QUERY_NAMED_BLOCK_NODES, /* qmp query-named-block-nodes */
     QEMU_CAPS_CPU_CACHE, /* -cpu supports host-cache-info and l3-cache properties */
+    QEMU_CAPS_DEVICE_QEMU_XHCI, /* -device qemu-xhci */
 
     QEMU_CAPS_LAST /* this must always be the last item */
 } virQEMUCapsFlags;
index fccb469fe3adacd69a90f221586427e583673d9c..2bb889fef3220e035dde359e2c219a605dfc010d 100644 (file)
   <flag name='block-write-threshold'/>
   <flag name='query-named-block-nodes'/>
   <flag name='cpu-cache'/>
+  <flag name='qemu-xhci'/>
   <version>2009000</version>
   <kvmVersion>0</kvmVersion>
   <package> (v2.9.0)</package>