ia64/xen-unstable

changeset 5179:5fa5698914c1

bitkeeper revision 1.1570 (4296dbcdhFdFajOGxHJCyEMvDA0TWg)

[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@watson.ibm.com>
author leendert@watson.ibm.com[kaf24]
date Fri May 27 08:35:25 2005 +0000 (2005-05-27)
parents be52714e4727
children da69cdf7fef2
files xen/arch/x86/cpu/intel.c
line diff
     1.1 --- a/xen/arch/x86/cpu/intel.c	Thu May 26 20:33:31 2005 +0000
     1.2 +++ b/xen/arch/x86/cpu/intel.c	Fri May 27 08:35:25 2005 +0000
     1.3 @@ -10,6 +10,7 @@
     1.4  #include <asm/mpspec.h>
     1.5  #include <asm/apic.h>
     1.6  #include <mach_apic.h>
     1.7 +#include <asm/vmx_vmcs.h>
     1.8  
     1.9  #include "cpu.h"
    1.10  
    1.11 @@ -162,6 +163,10 @@ static void __init init_intel(struct cpu
    1.12  		set_bit(X86_FEATURE_P4, c->x86_capability);
    1.13  	if (c->x86 == 6) 
    1.14  		set_bit(X86_FEATURE_P3, c->x86_capability);
    1.15 +
    1.16 +#ifdef CONFIG_VMX
    1.17 +	start_vmx();
    1.18 +#endif
    1.19  }
    1.20  
    1.21