]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: capabilities: Add gluster.debug_level detection for 2.8.0+
authorPeter Krempa <pkrempa@redhat.com>
Tue, 6 Dec 2016 15:59:18 +0000 (16:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 7 Dec 2016 12:34:22 +0000 (13:34 +0100)
Qemu 2.8.0+ changes arguments structure for blockdev-add in the effort
to make it finally stable. Since libvirt recently added the detection of
gluster debug support relying on the old syntax we need to add the new
as well.

src/qemu/qemu_capabilities.c
tests/qemucapabilitiesdata/caps_2.8.0.x86_64.xml

index df417f2f0d6d6a18fa199bb31291b771a3a2b366..081afc5665e1d89b67933af28325741f154e90da 100644 (file)
@@ -1725,6 +1725,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsUSBNECXHCI[] = {
 /* see documentation for virQEMUCapsQMPSchemaGetByPath for the query format */
 static struct virQEMUCapsStringFlags virQEMUCapsQMPSchemaQueries[] = {
     { "blockdev-add/arg-type/options/+gluster/debug-level", QEMU_CAPS_GLUSTER_DEBUG_LEVEL},
+    { "blockdev-add/arg-type/+gluster/debug", QEMU_CAPS_GLUSTER_DEBUG_LEVEL},
 };
 
 struct virQEMUCapsObjectTypeProps {
index 110865e17bd96ecfd2e732fd93b64fa33413d0cd..9757bd240a9f9625e124732b67ba7178c5b3028e 100644 (file)
   <flag name='ivshmem-plain'/>
   <flag name='ivshmem-doorbell'/>
   <flag name='query-qmp-schema'/>
+  <flag name='gluster.debug_level'/>
   <flag name='vhost-scsi'/>
   <flag name='drive-iotune-group'/>
   <version>2007093</version>