mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
qemu: Probe for .migratable property of a CPU
Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a08669c31b
commit
2bfa2fea02
@ -582,6 +582,9 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"tcg",
|
||||
"virtio-blk-pci.scsi.default.disabled",
|
||||
"pvscsi",
|
||||
|
||||
/* 370 */
|
||||
"cpu.migratable",
|
||||
);
|
||||
|
||||
|
||||
@ -1641,6 +1644,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMemoryBackendMemfd[]
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsObjectPropsMaxCPU[] = {
|
||||
{ "unavailable-features", QEMU_CAPS_CPU_UNAVAILABLE_FEATURES },
|
||||
{ "kvm-no-adjvtime", QEMU_CAPS_CPU_KVM_NO_ADJVTIME },
|
||||
{ "migratable", QEMU_CAPS_CPU_MIGRATABLE },
|
||||
};
|
||||
|
||||
static virQEMUCapsObjectTypeProps virQEMUCapsObjectProps[] = {
|
||||
|
@ -564,6 +564,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_VIRTIO_BLK_SCSI_DEFAULT_DISABLED, /* virtio-blk-pci.scsi disabled by default */
|
||||
QEMU_CAPS_SCSI_PVSCSI, /* -device pvscsi */
|
||||
|
||||
/* 370 */
|
||||
QEMU_CAPS_CPU_MIGRATABLE, /* -cpu ...,migratable=on|off */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
||||
|
@ -200,6 +200,7 @@
|
||||
<flag name='i8042'/>
|
||||
<flag name='tcg'/>
|
||||
<flag name='pvscsi'/>
|
||||
<flag name='cpu.migratable'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100289</microcodeVersion>
|
||||
|
@ -206,6 +206,7 @@
|
||||
<flag name='storage.werror'/>
|
||||
<flag name='tcg'/>
|
||||
<flag name='pvscsi'/>
|
||||
<flag name='cpu.migratable'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100239</microcodeVersion>
|
||||
|
@ -209,6 +209,7 @@
|
||||
<flag name='storage.werror'/>
|
||||
<flag name='tcg'/>
|
||||
<flag name='pvscsi'/>
|
||||
<flag name='cpu.migratable'/>
|
||||
<version>3000092</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100240</microcodeVersion>
|
||||
|
@ -214,6 +214,7 @@
|
||||
<flag name='storage.werror'/>
|
||||
<flag name='tcg'/>
|
||||
<flag name='pvscsi'/>
|
||||
<flag name='cpu.migratable'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100240</microcodeVersion>
|
||||
|
@ -220,6 +220,7 @@
|
||||
<flag name='storage.werror'/>
|
||||
<flag name='tcg'/>
|
||||
<flag name='pvscsi'/>
|
||||
<flag name='cpu.migratable'/>
|
||||
<version>4001000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100241</microcodeVersion>
|
||||
|
@ -228,6 +228,7 @@
|
||||
<flag name='virtio.packed'/>
|
||||
<flag name='tcg'/>
|
||||
<flag name='pvscsi'/>
|
||||
<flag name='cpu.migratable'/>
|
||||
<version>4002000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
|
@ -234,6 +234,7 @@
|
||||
<flag name='tcg'/>
|
||||
<flag name='virtio-blk-pci.scsi.default.disabled'/>
|
||||
<flag name='pvscsi'/>
|
||||
<flag name='cpu.migratable'/>
|
||||
<version>5000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100241</microcodeVersion>
|
||||
|
@ -234,6 +234,7 @@
|
||||
<flag name='tcg'/>
|
||||
<flag name='virtio-blk-pci.scsi.default.disabled'/>
|
||||
<flag name='pvscsi'/>
|
||||
<flag name='cpu.migratable'/>
|
||||
<version>5000050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
|
Loading…
Reference in New Issue
Block a user