Changeset 4598 in vbox
- Timestamp:
- Sep 7, 2007 9:23:11 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 24236
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp
r4487 r4598 136 136 *(uint32_t *)pVM->hwaccm.s.vmx.pVMXON = MSR_IA32_VMX_BASIC_INFO_VMCS_ID(pVM->hwaccm.s.vmx.msr.vmx_basic_info); 137 137 138 #if HC_ARCH_BITS == 64 138 139 /* Enter VMX Root Mode */ 139 140 int rc = VMXEnable(pVM->hwaccm.s.vmx.pVMXONPhys); … … 141 142 { 142 143 /* KVM leaves the CPU in VMX root mode. Not only is this not allowed, it will crash the host when we enter raw mode, because 143 * (a) clearing X86_CR4_VMXE in CR4 causes a #GP 144 * (b) turning off paging causes a #GP 144 * (a) clearing X86_CR4_VMXE in CR4 causes a #GP (we no longer modify this bit) 145 * (b) turning off paging causes a #GP (unavoidable when switching from long to 32 bits mode) 145 146 * 146 147 * They should fix their code, but until they do we simply refuse to run. … … 149 150 } 150 151 VMXDisable(); 152 #endif 151 153 } 152 154 }
Note:
See TracChangeset
for help on using the changeset viewer.