[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v6 31/42] qmp: Add "alias-of" field to query-cpu-defi
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL v6 31/42] qmp: Add "alias-of" field to query-cpu-definitions |
Date: |
Fri, 5 Jul 2019 19:14:53 -0300 |
Management software will be expected to resolve CPU model name
aliases using the new field.
Signed-off-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
qapi/machine-target.json | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/qapi/machine-target.json b/qapi/machine-target.json
index 5d7480f6ab..55310a6aa2 100644
--- a/qapi/machine-target.json
+++ b/qapi/machine-target.json
@@ -279,6 +279,12 @@
# to introspect properties configurable using -cpu or -global.
# (since 2.9)
#
+# @alias-of: Name of CPU model this model is an alias for. The target of the
+# CPU model alias may change depending on the machine type.
+# Management software is supposed to translate CPU model aliases
+# in the VM configuration, because aliases may stop being
+# migration-safe in the future (since 4.1)
+#
# @unavailable-features is a list of QOM property names that
# represent CPU model attributes that prevent the CPU from running.
# If the QOM property is read-only, that means there's no known
@@ -302,7 +308,8 @@
'*migration-safe': 'bool',
'static': 'bool',
'*unavailable-features': [ 'str' ],
- 'typename': 'str' },
+ 'typename': 'str',
+ '*alias-of' : 'str' },
'if': 'defined(TARGET_PPC) || defined(TARGET_ARM) || defined(TARGET_I386) ||
defined(TARGET_S390X) || defined(TARGET_MIPS)' }
##
--
2.18.0.rc1.1.g3f1ff2140
- [Qemu-devel] [PULL v6 24/42] x86/cpu: use FeatureWordArray to define filtered_features, (continued)
- [Qemu-devel] [PULL v6 24/42] x86/cpu: use FeatureWordArray to define filtered_features, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 23/42] i386: make 'hv-spinlocks' a regular uint32 property, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 25/42] i386: Remove unused host_cpudef variable, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 26/42] target/i386: Add CPUID.1F generation support for multi-dies PCMachine, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 20/42] deprecate -mem-path fallback to anonymous RAM, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 27/42] machine: Refactor smp_parse() in vl.c as MachineClass::smp_parse(), Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 28/42] vl.c: Add -smp, dies=* command line support and update doc, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 29/42] qmp: Add deprecation information to query-machines, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 30/42] i386: Introduce SnowRidge CPU model, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 31/42] qmp: Add "alias-of" field to query-cpu-definitions,
Eduardo Habkost <=
- [Qemu-devel] [PULL v6 34/42] i386: Register versioned CPU models, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 42/42] tests: use -numa memdev option in tests instead of legacy 'mem' option, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 32/42] i386: Add x-force-features option for testing, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 33/42] i386: Get model-id from CPU object on "-cpu help", Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 39/42] i386: Add Cascadelake-Server-v2 CPU model, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 40/42] numa: Make deprecation warnings conditional on !qtest_enabled(), Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 38/42] docs: Deprecate CPU model runnability guarantees, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 36/42] i386: Replace -noTSX, -IBRS, -IBPB CPU models with aliases, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 35/42] i386: Define -IBRS, -noTSX, -IBRS versions of CPU models, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 41/42] numa: allow memory-less nodes when using memdev as backend, Eduardo Habkost, 2019/07/05