Changeset 88345 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Apr 1, 2021 1:12:28 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143575
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r88079 r88345 236 236 #endif 237 237 MODIFYVM_CHIPSET, 238 #if def VBOX_WITH_IOMMU_AMD238 #if defined(VBOX_WITH_IOMMU_AMD) || defined(VBOX_WITH_IOMMU_INTEL) 239 239 MODIFYVM_IOMMU, 240 240 #endif … … 412 412 { "--iocachesize", MODIFYVM_IOCACHESIZE, RTGETOPT_REQ_UINT32 }, 413 413 { "--chipset", MODIFYVM_CHIPSET, RTGETOPT_REQ_STRING }, 414 #if def VBOX_WITH_IOMMU_AMD414 #if defined(VBOX_WITH_IOMMU_AMD) || defined(VBOX_WITH_IOMMU_INTEL) 415 415 { "--iommu", MODIFYVM_IOMMU, RTGETOPT_REQ_STRING }, 416 416 #endif … … 3013 3013 break; 3014 3014 } 3015 #if def VBOX_WITH_IOMMU_AMD3015 #if defined(VBOX_WITH_IOMMU_AMD) || defined(VBOX_WITH_IOMMU_INTEL) 3016 3016 case MODIFYVM_IOMMU: 3017 3017 { … … 3021 3021 else if (!RTStrICmp(ValueUnion.psz, "amd")) 3022 3022 CHECK_ERROR(sessionMachine, COMSETTER(IommuType)(IommuType_AMD)); 3023 /** @todo Add Intel when it's supported, remove warning from below. */ 3023 else if (!RTStrICmp(ValueUnion.psz, "intel")) 3024 CHECK_ERROR(sessionMachine, COMSETTER(IommuType)(IommuType_Intel)); 3024 3025 else if (!RTStrICmp(ValueUnion.psz, "automatic")) 3025 3026 { 3026 3027 CHECK_ERROR(sessionMachine, COMSETTER(IommuType)(IommuType_Automatic)); 3028 #ifndef VBOX_WITH_IOMMU_INTEL 3027 3029 RTStrmPrintf(g_pStdErr, 3028 3030 "Warning: On Intel hosts, 'automatic' will not enable an IOMMU since the Intel IOMMU device is not supported yet.\n"); 3031 #endif 3029 3032 } 3030 3033 else
Note:
See TracChangeset
for help on using the changeset viewer.