Changeset 74097 in vbox for trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
- Timestamp:
- Sep 6, 2018 2:43:53 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r73606 r74097 3949 3949 /** @cfgm{/CPUM/NestedHWVirt, bool, false} 3950 3950 * Whether to expose the hardware virtualization (VMX/SVM) feature to the guest. 3951 * The default is false, and when enabled requires nested paging and AMD-Vor3952 * unrestricted guest mode.3951 * The default is false, and when enabled requires a 64-bit CPU with support for 3952 * nested-paging and AMD-V or unrestricted guest mode. 3953 3953 */ 3954 3954 rc = CFGMR3QueryBoolDef(pCpumCfg, "NestedHWVirt", &pConfig->fNestedHWVirt, false); … … 3966 3966 pConfig->fNestedHWVirt = false; 3967 3967 } 3968 3969 #if HC_ARCH_BITS == 32 3970 /* We don't support nested hardware virtualization on 32-bit hosts. */ 3971 if (pConfig->fNestedHWVirt) 3972 return VMSetError(pVM, VERR_CPUM_INVALID_HWVIRT_CONFIG, RT_SRC_POS, 3973 "Cannot enable nested VT-x/AMD-V on a 32-bit host\n"); 3974 #endif 3968 3975 } 3969 3976
Note:
See TracChangeset
for help on using the changeset viewer.