From: Leendert van Doorn Subject: [PATCH] Missing start_vmx call Date: Thu, 26 May 2005 21:40:15 -0400 Message-ID: <20050527014015.E27501154@huxley.watson.ibm.com> Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 --- xeno-unstable.orig/xen/arch/x86/cpu/intel.c 2005-05-26 13:34:33.000000000 -0400 +++ xeno-unstable.mine/xen/arch/x86/cpu/intel.c 2005-05-26 22:03:30.000000000 -0400 @@ -10,6 +10,7 @@ #include #include #include +#include #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 }