diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2019-05-30 10:33:19 +0200 |
|---|---|---|
| committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-07-05 17:08:03 -0300 |
| commit | 4bb4a2732e097cd20594bab9039fcba9fac0b31f (patch) | |
| tree | 1d5b59cc7cc1b58db133afd44e46e0c57ad32c2a /hw/core/numa.c | |
| parent | cdf80365205ad2b05519049eaa9a71c7804bd240 (diff) | |
| download | focaccia-qemu-4bb4a2732e097cd20594bab9039fcba9fac0b31f.tar.gz focaccia-qemu-4bb4a2732e097cd20594bab9039fcba9fac0b31f.zip | |
numa: deprecate implict memory distribution between nodes
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 <imammedo@redhat.com> Message-Id: <1559205199-233510-4-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/core/numa.c')
| -rw-r--r-- | hw/core/numa.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |