aboutsummaryrefslogtreecommitdiff
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-09-11 04:44:08 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-30 19:09:20 +0200
commitb21aa7e01eb82f94ccdd7afdbe299a242d215272 (patch)
treecdca8a14877d475fa33bef167d1e15f350eb5077 /hw/core/machine.c
parent8f814ea1a2769311c71af069210dbba1de3aa9a4 (diff)
numa: drop support for '-numa node' (without memory specified)
it was deprecated since 4.1 commit 4bb4a2732e (numa: deprecate implict memory distribution between nodes) Users of existing VMs, wishing to preserve the same RAM distribution, should configure it explicitly using ``-numa node,memdev`` options. Current RAM distribution can be retrieved using HMP command `info numa` and if separate memory devices (pc|nv-dimm) are present use `info memory-device` and subtract device memory from output of `info numa`. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20200911084410.788171-2-imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
-rw-r--r--hw/core/machine.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c
index d7f4a0d259..7e2f4ec08e 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -790,7 +790,6 @@ static void machine_class_init(ObjectClass *oc, void *data)
* On Linux, each node's border has to be 8MB aligned
*/
mc->numa_mem_align_shift = 23;
- mc->numa_auto_assign_ram = numa_default_auto_assign_ram;
object_class_property_add_str(oc, "kernel",
machine_get_kernel, machine_set_kernel);