mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
caps: Add new capability for the iotune group name
Add the capability to detect if the qemu binary can support the feature to use throttling.group.
This commit is contained in:
parent
9001662b9f
commit
d3364dfdc8
@ -353,6 +353,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
"query-qmp-schema",
|
||||
"gluster.debug_level",
|
||||
"vhost-scsi",
|
||||
"drive-iotune-group",
|
||||
);
|
||||
|
||||
|
||||
@ -2923,6 +2924,7 @@ static struct virQEMUCapsCommandLineProps virQEMUCapsCommandLine[] = {
|
||||
{ "name", "guest", QEMU_CAPS_NAME_GUEST },
|
||||
{ "spice", "unix", QEMU_CAPS_SPICE_UNIX },
|
||||
{ "drive", "throttling.bps-total-max-length", QEMU_CAPS_DRIVE_IOTUNE_MAX_LENGTH },
|
||||
{ "drive", "throttling.group", QEMU_CAPS_DRIVE_IOTUNE_GROUP },
|
||||
};
|
||||
|
||||
static int
|
||||
|
@ -388,6 +388,7 @@ typedef enum {
|
||||
QEMU_CAPS_QUERY_QMP_SCHEMA, /* query-qmp-schema command */
|
||||
QEMU_CAPS_GLUSTER_DEBUG_LEVEL, /* -drive gluster.debug_level={0..9} */
|
||||
QEMU_CAPS_DEVICE_VHOST_SCSI, /* -device vhost-scsi-{ccw,pci} */
|
||||
QEMU_CAPS_DRIVE_IOTUNE_GROUP, /* -drive throttling.group=<name> */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -182,6 +182,7 @@
|
||||
<flag name='machine-iommu'/>
|
||||
<flag name='virtio-vga'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<flag name='drive-iotune-group'/>
|
||||
<version>2004000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -188,6 +188,7 @@
|
||||
<flag name='virtio-vga'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<flag name='drive-iotune-group'/>
|
||||
<version>2005000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -163,6 +163,7 @@
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<flag name='drive-iotune-group'/>
|
||||
<version>2006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -163,6 +163,7 @@
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<flag name='drive-iotune-group'/>
|
||||
<version>2006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -158,6 +158,7 @@
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<flag name='drive-iotune-group'/>
|
||||
<version>2006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -197,6 +197,7 @@
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<flag name='drive-iotune-group'/>
|
||||
<version>2006000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package></package>
|
||||
|
@ -199,6 +199,7 @@
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='gluster.debug_level'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<flag name='drive-iotune-group'/>
|
||||
<version>2007000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package> (v2.7.0)</package>
|
||||
|
@ -196,6 +196,7 @@
|
||||
<flag name='ivshmem-doorbell'/>
|
||||
<flag name='query-qmp-schema'/>
|
||||
<flag name='vhost-scsi'/>
|
||||
<flag name='drive-iotune-group'/>
|
||||
<version>2007091</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<package> (v2.8.0-rc1-dirty)</package>
|
||||
|
Loading…
Reference in New Issue
Block a user