Changeset 43756 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Oct 26, 2012 1:16:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r43746 r43756 1676 1676 1677 1677 if (CPUMIsGuestInLongModeEx(pCtx)) 1678 val |= VMX_VMCS_CTRL_ENTRY_CONTROLS_IA 64_MODE;1678 val |= VMX_VMCS_CTRL_ENTRY_CONTROLS_IA32E_MODE_GUEST; 1679 1679 /* else Must be zero when AMD64 is not available. */ 1680 1680 … … 1700 1700 #if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 1701 1701 if (VMX_IS_64BIT_HOST_MODE()) 1702 val |= VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_A MD64;1702 val |= VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_ADDR_SPACE_SIZE; 1703 1703 /* else Must be zero when AMD64 is not available. */ 1704 1704 #elif HC_ARCH_BITS == 32 && defined(VBOX_ENABLE_64_BITS_GUESTS) 1705 1705 if (CPUMIsGuestInLongModeEx(pCtx)) 1706 val |= VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_A MD64; /* our switcher goes to long mode */1706 val |= VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_ADDR_SPACE_SIZE; /* our switcher goes to long mode */ 1707 1707 else 1708 Assert(!(val & VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_A MD64));1708 Assert(!(val & VMX_VMCS_CTRL_EXIT_CONTROLS_HOST_ADDR_SPACE_SIZE)); 1709 1709 #endif 1710 1710 val &= pVM->hm.s.vmx.msr.vmx_exit.n.allowed1;
Note:
See TracChangeset
for help on using the changeset viewer.