Commit c1f5db1a authored by Ian Campbell's avatar Ian Campbell Committed by Konrad Rzeszutek Wilk
Browse files

xen: disable ACPI NUMA for PV guests

Xen does not currently expose PV-NUMA information to PV
guests. Therefore disable NUMA for the time being to prevent the
kernel picking up on an host-level NUMA information which it might
come across in the firmware.

[ Added comment - Jeremy ]
Signed-off-by: default avatarIan Campbell <>
Signed-off-by: default avatarJeremy Fitzhardinge <>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <>
parent d1b758eb
......@@ -1174,6 +1174,15 @@ asmlinkage void __init xen_start_kernel(void)
* The pages we from Xen are not related to machine pages, so
* any NUMA information the kernel tries to get from ACPI will
* be meaningless. Prevent it from trying.
acpi_numa = -1;
pgd = (pgd_t *)xen_start_info->pt_base;
if (!xen_initial_domain())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment