[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] hvm: disable on smp
hvm: disable hvm on smp With Intel VT, VMXOFF needs to be executed before halting the CPU. Without this fix Xen or Linux is unable to start up the CPU after a kexec reboot. Tested using x86_32 on a Pentium D 930. Signed-Off-By: Magnus Damm <magnus@xxxxxxxxxxxxx> --- 0001/xen/arch/x86/smp.c +++ work/xen/arch/x86/smp.c 2006-09-29 14:47:34.000000000 +0900 @@ -21,6 +21,7 @@ #include <asm/smpboot.h> #include <asm/hardirq.h> #include <asm/ipi.h> +#include <asm/hvm/hvm.h> #include <mach_apic.h> /* @@ -306,6 +307,7 @@ static void stop_this_cpu (void *dummy) local_irq_disable(); disable_local_APIC(); + hvm_disable(); for ( ; ; ) __asm__ __volatile__ ( "hlt" ); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |