Displaying 1 result from an estimated 1 matches for "xen_vnuma_supported".
2013 Nov 18
9
[PATCH RESEND v2 2/2] xen: enable vnuma for PV guest
...lt;asm/xen/hypercall.h>
+#include <asm/xen/vnuma.h>
#include <xen/xen.h>
#include <xen/page.h>
@@ -598,6 +599,9 @@ void __init xen_arch_setup(void)
WARN_ON(xen_set_default_idle());
fiddle_vdso();
#ifdef CONFIG_NUMA
- numa_off = 1;
+ if (!xen_initial_domain() && xen_vnuma_supported())
+ numa_off = 0;
+ else
+ numa_off = 1;
#endif
}
--
1.7.10.4