Skip to content

Commit d110b6b

Browse files
davidhildenbrandmstsirkin
authored andcommitted
pc: fix auto_enable_numa_with_memhp/auto_enable_numa_with_memdev for the 5.0 machine
Unfortunately, a typo sneeked in: we want to set auto_enable_numa_with_memdev to false, not auto_enable_numa_with_memhp. Cc: [email protected] # v5.1 Fixes: 195784a (numa: Auto-enable NUMA when any memory devices are possible) Reported-by: Dr. David Alan Gilbert <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Eduardo Habkost <[email protected]> Cc: "Michael S. Tsirkin" <[email protected]> Signed-off-by: David Hildenbrand <[email protected]> Message-Id: <[email protected]> Reviewed-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Igor Mammedov <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent 0c404e4 commit d110b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/i386/pc_q35.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ static void pc_q35_5_0_machine_options(MachineClass *m)
382382
m->numa_mem_supported = true;
383383
compat_props_add(m->compat_props, hw_compat_5_0, hw_compat_5_0_len);
384384
compat_props_add(m->compat_props, pc_compat_5_0, pc_compat_5_0_len);
385-
m->auto_enable_numa_with_memhp = false;
385+
m->auto_enable_numa_with_memdev = false;
386386
}
387387

388388
DEFINE_Q35_MACHINE(v5_0, "pc-q35-5.0", NULL,

0 commit comments

Comments
 (0)