[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v6 18/42] numa: deprecate implict memory distribution
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL v6 18/42] numa: deprecate implict memory distribution between nodes |
Date: |
Fri, 5 Jul 2019 19:14:40 -0300 |
From: Igor Mammedov <address@hidden>
Implicit RAM distribution between nodes has exactly the same issues as:
"numa: deprecate 'mem' parameter of '-numa node' option"
only with QEMU being the user that's 'adding' 'mem' parameter.
Deprecate it, to get it out of the way so that we could consolidate
guest RAM allocation using memory backends making it consistent and
possibly later on transition to using memory devices instead of
adhoc memory mapping for the initial RAM.
Signed-off-by: Igor Mammedov <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
hw/core/numa.c | 3 +++
qemu-deprecated.texi | 8 ++++++++
2 files changed, 11 insertions(+)
diff --git a/hw/core/numa.c b/hw/core/numa.c
index b9e79b8c8b..cb5fdbcb1e 100644
--- a/hw/core/numa.c
+++ b/hw/core/numa.c
@@ -405,6 +405,9 @@ void numa_complete_configuration(MachineState *ms)
if (i == nb_numa_nodes) {
assert(mc->numa_auto_assign_ram);
mc->numa_auto_assign_ram(mc, numa_info, nb_numa_nodes, ram_size);
+ warn_report("Default splitting of RAM between nodes is deprecated,"
+ " Use '-numa node,memdev' to explictly define RAM"
+ " allocation per node");
}
numa_total = 0;
diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi
index ba52999f7f..4a626f535d 100644
--- a/qemu-deprecated.texi
+++ b/qemu-deprecated.texi
@@ -104,6 +104,14 @@ In future new machine versions will not accept the option
but it will still
work with old machine types. User can check QAPI schema to see if the legacy
option is supported by looking at MachineInfo::numa-mem-supported property.
+@subsection -numa node (without memory specified) (since 4.1)
+
+Splitting RAM by default between NUMA nodes has the same issues as @option{mem}
+parameter described above with the difference that the role of the user plays
+QEMU using implicit generic or board specific splitting rule.
+Use @option{memdev} with @var{memory-backend-ram} backend or @option{mem} (if
+it's supported by used machine type) to define mapping explictly instead.
+
@section QEMU Machine Protocol (QMP) commands
@subsection block-dirty-bitmap-add "autoload" parameter (since 2.12.0)
--
2.18.0.rc1.1.g3f1ff2140
- [Qemu-devel] [PULL v6 10/42] vl.c: Replace smp global variables with smp machine properties, (continued)
- [Qemu-devel] [PULL v6 10/42] vl.c: Replace smp global variables with smp machine properties, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 13/42] i386/cpu: Consolidate die-id validity in smp context, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 08/42] hw/arm: Replace global smp variables with machine smp properties, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 11/42] i386: Add die-level cpu topology to x86CPU on PCMachine, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 16/42] machine: show if CLI option '-numa node, mem' is supported in QAPI schema, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 15/42] pc: fix possible NULL pointer dereference in pc_machine_get_device_memory_region_size(), Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 14/42] i386: Update new x86_apicid parsing rules with die_offset support, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 17/42] numa: deprecate 'mem' parameter of '-numa node' option, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 18/42] numa: deprecate implict memory distribution between nodes,
Eduardo Habkost <=
- [Qemu-devel] [PULL v6 19/42] hppa: Delete unused hppa_cpu_list() function, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 21/42] i386: Don't print warning if phys-bits was set automatically, Eduardo Habkost, 2019/07/05
- [Qemu-devel] [PULL v6 22/42] i386: Fix signedness of hyperv_spinlock_attempts, Eduardo Habkost, 2019/07/05
- [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