Set NE bit for VMX guest CR0 VMCS guest CR0.NE bit must be set, else it will cause "vm-entry failed". Signed-off-by: Chengyuan Li <chengyuan.li@intel.com> diff -r 94990f123e5e xen/arch/x86/vmx.c --- a/xen/arch/x86/vmx.c Wed Sep 14 10:58:00 2005 +++ b/xen/arch/x86/vmx.c Wed Sep 14 20:47:53 2005 @@ -1021,7 +1021,7 @@ * CR0: We don''t want to lose PE and PG. */ paging_enabled = vmx_paging_enabled(d); - __vmwrite(GUEST_CR0, (value | X86_CR0_PE | X86_CR0_PG)); + __vmwrite(GUEST_CR0, (value | X86_CR0_PE | X86_CR0_PG | X86_CR0_NE)); __vmwrite(CR0_READ_SHADOW, value); VMX_DBG_LOG(DBG_LEVEL_VMMU, "Update CR0 value = %lx\n", value); Thanks, Chengyuan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel