mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
qemu_capabilities: introduce QEMU_CAPS_QUERY_CPU_MODEL_BASELINE
This capability enables baselining of CPU models via QMP. Signed-off-by: Collin Walling <walling@linux.ibm.com> Reviewed-by: Daniel Henrique Barboza <danielh413@gmail.com> Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com> Message-Id: <1568924706-2311-9-git-send-email-walling@linux.ibm.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
b0b582263d
commit
db8bd39f6b
@ -543,6 +543,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
|
||||
/* 340 */
|
||||
"incremental-backup",
|
||||
"query-cpu-model-baseline",
|
||||
);
|
||||
|
||||
|
||||
@ -989,6 +990,7 @@ struct virQEMUCapsStringFlags virQEMUCapsCommands[] = {
|
||||
{ "blockdev-del", QEMU_CAPS_BLOCKDEV_DEL },
|
||||
{ "query-current-machine", QEMU_CAPS_QUERY_CURRENT_MACHINE },
|
||||
{ "block-dirty-bitmap-merge", QEMU_CAPS_BITMAP_MERGE },
|
||||
{ "query-cpu-model-baseline", QEMU_CAPS_QUERY_CPU_MODEL_BASELINE },
|
||||
};
|
||||
|
||||
struct virQEMUCapsStringFlags virQEMUCapsMigration[] = {
|
||||
|
@ -524,6 +524,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
|
||||
/* 340 */
|
||||
QEMU_CAPS_INCREMENTAL_BACKUP, /* incremental backup is supported */
|
||||
QEMU_CAPS_QUERY_CPU_MODEL_BASELINE, /* qmp query-cpu-model-baseline */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -103,6 +103,7 @@
|
||||
<flag name='egl-headless'/>
|
||||
<flag name='zpci'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='query-cpu-model-baseline'/>
|
||||
<version>2010000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100805</microcodeVersion>
|
||||
|
@ -110,6 +110,7 @@
|
||||
<flag name='egl-headless'/>
|
||||
<flag name='zpci'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='query-cpu-model-baseline'/>
|
||||
<version>2011000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100806</microcodeVersion>
|
||||
|
@ -121,6 +121,7 @@
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<flag name='query-cpu-model-baseline'/>
|
||||
<version>2012000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100807</microcodeVersion>
|
||||
|
@ -92,6 +92,7 @@
|
||||
<flag name='sdl-gl'/>
|
||||
<flag name='vhost-vsock'/>
|
||||
<flag name='zpci'/>
|
||||
<flag name='query-cpu-model-baseline'/>
|
||||
<version>2007093</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100764</microcodeVersion>
|
||||
|
@ -97,6 +97,7 @@
|
||||
<flag name='vhost-vsock'/>
|
||||
<flag name='zpci'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='query-cpu-model-baseline'/>
|
||||
<version>2009000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100765</microcodeVersion>
|
||||
|
@ -123,6 +123,7 @@
|
||||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<flag name='query-cpu-model-baseline'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100757</microcodeVersion>
|
||||
|
@ -132,6 +132,7 @@
|
||||
<flag name='bitmap-merge'/>
|
||||
<flag name='nbd-bitmap'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<flag name='query-cpu-model-baseline'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100758</microcodeVersion>
|
||||
|
Loading…
x
Reference in New Issue
Block a user