qemu: capabilities: Retire QEMU_CAPS_GLUSTER_DEBUG_LEVEL

The debug level of gluster backend became configurable in qemu-2.8.

This also removes the only old-style syntax for the 'blockdev-add'
command prior to stabilization.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2022-07-15 16:20:01 +02:00
parent 73011dd0ab
commit c250c5a3db
28 changed files with 2 additions and 30 deletions

View File

@ -402,7 +402,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
"query-qmp-schema", /* X_QEMU_CAPS_QUERY_QMP_SCHEMA */ "query-qmp-schema", /* X_QEMU_CAPS_QUERY_QMP_SCHEMA */
/* 240 */ /* 240 */
"gluster.debug_level", /* QEMU_CAPS_GLUSTER_DEBUG_LEVEL */ "gluster.debug_level", /* X_QEMU_CAPS_GLUSTER_DEBUG_LEVEL */
"vhost-scsi", /* QEMU_CAPS_DEVICE_VHOST_SCSI */ "vhost-scsi", /* QEMU_CAPS_DEVICE_VHOST_SCSI */
"drive-iotune-group", /* X_QEMU_CAPS_DRIVE_IOTUNE_GROUP */ "drive-iotune-group", /* X_QEMU_CAPS_DRIVE_IOTUNE_GROUP */
"query-cpu-model-expansion", /* QEMU_CAPS_QUERY_CPU_MODEL_EXPANSION */ "query-cpu-model-expansion", /* QEMU_CAPS_QUERY_CPU_MODEL_EXPANSION */
@ -1583,8 +1583,6 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVirtioIOMMU[] =
/* see documentation for virQEMUQAPISchemaPathGet for the query format */ /* see documentation for virQEMUQAPISchemaPathGet for the query format */
static struct virQEMUCapsStringFlags virQEMUCapsQMPSchemaQueries[] = { 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},
{ "blockdev-add/arg-type/+vxhs", QEMU_CAPS_VXHS}, { "blockdev-add/arg-type/+vxhs", QEMU_CAPS_VXHS},
{ "blockdev-add/arg-type/+qcow2/encrypt/+luks/key-secret", QEMU_CAPS_QCOW2_LUKS }, { "blockdev-add/arg-type/+qcow2/encrypt/+luks/key-secret", QEMU_CAPS_QCOW2_LUKS },
{ "blockdev-add/arg-type/+file/drop-cache", QEMU_CAPS_MIGRATION_FILE_DROP_CACHE }, { "blockdev-add/arg-type/+file/drop-cache", QEMU_CAPS_MIGRATION_FILE_DROP_CACHE },

View File

@ -381,7 +381,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
X_QEMU_CAPS_QUERY_QMP_SCHEMA, /* query-qmp-schema command */ X_QEMU_CAPS_QUERY_QMP_SCHEMA, /* query-qmp-schema command */
/* 240 */ /* 240 */
QEMU_CAPS_GLUSTER_DEBUG_LEVEL, /* -drive gluster.debug_level={0..9} */ X_QEMU_CAPS_GLUSTER_DEBUG_LEVEL, /* -drive gluster.debug_level={0..9} */
QEMU_CAPS_DEVICE_VHOST_SCSI, /* -device vhost-scsi-{ccw,pci} */ QEMU_CAPS_DEVICE_VHOST_SCSI, /* -device vhost-scsi-{ccw,pci} */
X_QEMU_CAPS_DRIVE_IOTUNE_GROUP, /* -drive throttling.group=<name> */ X_QEMU_CAPS_DRIVE_IOTUNE_GROUP, /* -drive throttling.group=<name> */
QEMU_CAPS_QUERY_CPU_MODEL_EXPANSION, /* qmp query-cpu-model-expansion */ QEMU_CAPS_QUERY_CPU_MODEL_EXPANSION, /* qmp query-cpu-model-expansion */

View File

@ -85,7 +85,6 @@
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -82,7 +82,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>
<flag name='pcie-root-port'/> <flag name='pcie-root-port'/>

View File

@ -50,7 +50,6 @@
<flag name='virtio-pci-disable-legacy'/> <flag name='virtio-pci-disable-legacy'/>
<flag name='query-hotpluggable-cpus'/> <flag name='query-hotpluggable-cpus'/>
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -109,7 +109,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -87,7 +87,6 @@
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -83,7 +83,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>
<flag name='nvdimm'/> <flag name='nvdimm'/>

View File

@ -87,7 +87,6 @@
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>
<flag name='spice-rendernode'/> <flag name='spice-rendernode'/>

View File

@ -109,7 +109,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -29,7 +29,6 @@
<flag name='chardev-logfile'/> <flag name='chardev-logfile'/>
<flag name='drive-detect-zeroes'/> <flag name='drive-detect-zeroes'/>
<flag name='query-hotpluggable-cpus'/> <flag name='query-hotpluggable-cpus'/>
<flag name='gluster.debug_level'/>
<flag name='spice-rendernode'/> <flag name='spice-rendernode'/>
<flag name='block-write-threshold'/> <flag name='block-write-threshold'/>
<flag name='query-named-block-nodes'/> <flag name='query-named-block-nodes'/>

View File

@ -109,7 +109,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -86,7 +86,6 @@
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -82,7 +82,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>
<flag name='nvdimm'/> <flag name='nvdimm'/>

View File

@ -86,7 +86,6 @@
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>
<flag name='spice-rendernode'/> <flag name='spice-rendernode'/>

View File

@ -49,7 +49,6 @@
<flag name='virtio-pci-disable-legacy'/> <flag name='virtio-pci-disable-legacy'/>
<flag name='query-hotpluggable-cpus'/> <flag name='query-hotpluggable-cpus'/>
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -109,7 +109,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -87,7 +87,6 @@
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -49,7 +49,6 @@
<flag name='virtio-pci-disable-legacy'/> <flag name='virtio-pci-disable-legacy'/>
<flag name='query-hotpluggable-cpus'/> <flag name='query-hotpluggable-cpus'/>
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -108,7 +108,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -107,7 +107,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -93,7 +93,6 @@
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -82,7 +82,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>
<flag name='nvdimm'/> <flag name='nvdimm'/>

View File

@ -107,7 +107,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -93,7 +93,6 @@
<flag name='virtio-net.rx_queue_size'/> <flag name='virtio-net.rx_queue_size'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -88,7 +88,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>
<flag name='nvdimm'/> <flag name='nvdimm'/>

View File

@ -107,7 +107,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>

View File

@ -107,7 +107,6 @@
<flag name='virtio-vga'/> <flag name='virtio-vga'/>
<flag name='ivshmem-plain'/> <flag name='ivshmem-plain'/>
<flag name='ivshmem-doorbell'/> <flag name='ivshmem-doorbell'/>
<flag name='gluster.debug_level'/>
<flag name='vhost-scsi'/> <flag name='vhost-scsi'/>
<flag name='query-cpu-model-expansion'/> <flag name='query-cpu-model-expansion'/>
<flag name='virtio-net.host_mtu'/> <flag name='virtio-net.host_mtu'/>