|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [HVM] Disable VMX/SVM on auxiliary proces
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 9eb80d41c72416807252b1cdfe38c44d2c4d626e
# Parent bcd0e18f7881edee8ef8cd915cdf000ec84a2468
[HVM] Disable VMX/SVM on auxiliary processors when shutting down an SMP system.
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>
---
xen/arch/x86/smp.c | 2 ++
1 files changed, 2 insertions(+)
diff -r bcd0e18f7881 -r 9eb80d41c724 xen/arch/x86/smp.c
--- a/xen/arch/x86/smp.c Fri Sep 29 11:26:33 2006 +0100
+++ b/xen/arch/x86/smp.c Fri Sep 29 11:28:04 2006 +0100
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [HVM] Disable VMX/SVM on auxiliary processors when shutting down an SMP system.,
Xen patchbot-unstable <=
|
|
|
|
|