 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [PATCH] [PATCH] Missing start_vmx call
 ChangeSet 1.1570, 2005/05/27 09:35:25+01:00, leendert@xxxxxxxxxxxxxx
        [PATCH] [PATCH] Missing start_vmx call
        
        Start_vmx was removed by accident. This patch puts it back. start_vmx
        is used to initialize the VMX subsystem, without it VMX operations 
result
        in bad opcode traps and crash Xen.
        
        Signed-Off-By: Leendert van Doorn <leendert@xxxxxxxxxxxxxx>
 intel.c |    5 +++++
 1 files changed, 5 insertions(+)
diff -Nru a/xen/arch/x86/cpu/intel.c b/xen/arch/x86/cpu/intel.c
--- a/xen/arch/x86/cpu/intel.c  2005-05-27 05:02:24 -04:00
+++ b/xen/arch/x86/cpu/intel.c  2005-05-27 05:02:24 -04:00
@@ -10,6 +10,7 @@
 #include <asm/mpspec.h>
 #include <asm/apic.h>
 #include <mach_apic.h>
+#include <asm/vmx_vmcs.h>
 
 #include "cpu.h"
 
@@ -162,6 +163,10 @@
                set_bit(X86_FEATURE_P4, c->x86_capability);
        if (c->x86 == 6) 
                set_bit(X86_FEATURE_P3, c->x86_capability);
+
+#ifdef CONFIG_VMX
+       start_vmx();
+#endif
 }
 
 
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |