mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
qemu_capabilities: Introduce QEMU_CAPS_DIRTYRATE_MODE capability
mode option of calc-dirty-rate command since qemu >=6.2.0. Introduce QEMU_CAPS_DIRTYRATE_MODE capability definition. Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
f78b804b46
commit
f8dc72f0ca
@ -664,6 +664,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"hvf", /* QEMU_CAPS_HVF */
|
||||
"virtio-mem-pci.prealloc", /* QEMU_CAPS_DEVICE_VIRTIO_MEM_PCI_PREALLOC */
|
||||
"calc-dirty-rate", /* QEMU_CAPS_CALC_DIRTY_RATE */
|
||||
"dirtyrate-param.mode", /* QEMU_CAPS_DIRTYRATE_MODE */
|
||||
);
|
||||
|
||||
|
||||
@ -1622,6 +1623,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsQMPSchemaQueries[] = {
|
||||
{ "screendump/arg-type/device", QEMU_CAPS_SCREENDUMP_DEVICE },
|
||||
{ "set-numa-node/arg-type/+hmat-lb", QEMU_CAPS_NUMA_HMAT },
|
||||
{ "object-add/arg-type/+sev-guest/kernel-hashes", QEMU_CAPS_SEV_GUEST_KERNEL_HASHES },
|
||||
{ "calc-dirty-rate/arg-type/mode", QEMU_CAPS_DIRTYRATE_MODE },
|
||||
};
|
||||
|
||||
typedef struct _virQEMUCapsObjectTypeProps virQEMUCapsObjectTypeProps;
|
||||
|
@ -639,6 +639,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_HVF, /* Whether Hypervisor.framework is available */
|
||||
QEMU_CAPS_DEVICE_VIRTIO_MEM_PCI_PREALLOC, /* -device virtio-mem-pci.prealloc= */
|
||||
QEMU_CAPS_CALC_DIRTY_RATE, /* accepts calc-dirty-rate */
|
||||
QEMU_CAPS_DIRTYRATE_MODE , /* calc-dirty-rate accepts mode parameter */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -200,6 +200,7 @@
|
||||
<flag name='rbd-encryption'/>
|
||||
<flag name='sev-guest-kernel-hashes'/>
|
||||
<flag name='calc-dirty-rate'/>
|
||||
<flag name='dirtyrate-param.mode'/>
|
||||
<version>6002000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>42900244</microcodeVersion>
|
||||
|
@ -240,6 +240,7 @@
|
||||
<flag name='sev-guest-kernel-hashes'/>
|
||||
<flag name='sev-inject-launch-secret'/>
|
||||
<flag name='calc-dirty-rate'/>
|
||||
<flag name='dirtyrate-param.mode'/>
|
||||
<version>6002000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100244</microcodeVersion>
|
||||
|
@ -201,6 +201,7 @@
|
||||
<flag name='sev-guest-kernel-hashes'/>
|
||||
<flag name='device.json+hotplug'/>
|
||||
<flag name='calc-dirty-rate'/>
|
||||
<flag name='dirtyrate-param.mode'/>
|
||||
<version>6002050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>42900243</microcodeVersion>
|
||||
|
@ -242,6 +242,7 @@
|
||||
<flag name='device.json+hotplug'/>
|
||||
<flag name='virtio-mem-pci.prealloc'/>
|
||||
<flag name='calc-dirty-rate'/>
|
||||
<flag name='dirtyrate-param.mode'/>
|
||||
<version>6002050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100243</microcodeVersion>
|
||||
|
Loading…
Reference in New Issue
Block a user