[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 05/11] qapi-schema: Comment about full expansion of n
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL 05/11] qapi-schema: Comment about full expansion of non-migration-safe models |
Date: |
Mon, 27 Feb 2017 13:24:55 -0300 |
Add a note warning that static expansion may not be 100% accurate
when the CPU model is not migration-safe. This will be the case
on x86 when expansing the "host" CPU model, because there are
"host" features that can't have a migration-safe representation
(e.g. "host-cache-info").
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
qapi-schema.json | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/qapi-schema.json b/qapi-schema.json
index 150ee98e9e..2051c46cfc 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -4274,6 +4274,15 @@
# migration-safe, but allows tooling to get an insight and work with
# model details.
#
+# Note: When a non-migration-safe CPU model is expanded in static mode, some
+# features enabled by the CPU model may be omitted, because they can't be
+# implemented by a static CPU model definition (e.g. cache info passthrough and
+# PMU passthrough in x86). If you need an accurate representation of the
+# features enabled by a non-migration-safe CPU model, use @full. If you need a
+# static representation that will keep ABI compatibility even when changing
QEMU
+# version or machine-type, use @static (but keep in mind that some features may
+# be omitted).
+#
# Since: 2.8.0
##
{ 'enum': 'CpuModelExpansionType',
--
2.11.0.259.g40922b1
- [Qemu-devel] [PULL 00/11] x86 queue, 2017-02-27, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 01/11] i386: Unset cannot_destroy_with_object_finalize_yet on "host" model, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 02/11] i386: Add ordering field to CPUClass, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 03/11] i386: Rename X86CPU::host_features to X86CPU::max_features, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 05/11] qapi-schema: Comment about full expansion of non-migration-safe models,
Eduardo Habkost <=
- [Qemu-devel] [PULL 04/11] i386: Reorganize and document CPUID initialization steps, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 06/11] i386: Create "max" CPU model, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 07/11] i386: Make "max" model not use any host CPUID info on TCG, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 08/11] i386: Don't set CPUClass::cpu_def on "max" model, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 11/11] i386: Improve query-cpu-model-expansion full mode, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 09/11] i386: Define static "base" CPU model, Eduardo Habkost, 2017/02/27
- [Qemu-devel] [PULL 10/11] i386: Implement query-cpu-model-expansion QMP command, Eduardo Habkost, 2017/02/27
- Re: [Qemu-devel] [PULL 00/11] x86 queue, 2017-02-27, Peter Maydell, 2017/02/27