For now, disable x2APIC mode when Xen is detected, even if CPU
declares support for it. Newer versions of Xen works fine with x2APIC code, but e.g. Xen 4.2 delivers GPF on the LAPIC MSR write, despite x2APIC mode being known to hypervisor. Discussed with: royger Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3e6d2e9b4e
commit
45bc78eb45
@ -158,6 +158,8 @@ madt_setup_local(void)
|
||||
printf(
|
||||
"x2APIC available but disabled inside VMWare without intr redirection\n");
|
||||
}
|
||||
} else if (vm_guest == VM_GUEST_XEN) {
|
||||
x2apic_mode = 0;
|
||||
}
|
||||
TUNABLE_INT_FETCH("hw.x2apic_enable", &x2apic_mode);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user