VirtualBox

Changeset 88364 in vbox for trunk/src


Ignore:
Timestamp:
Apr 5, 2021 6:23:12 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143611
Message:

Intel IOMMU: bugref:9967 MachineImpl: Disallow setting Intel IOMMU when VBOX_WITH_IOMMU_INTEL isn't defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r87968 r88364  
    12551255    if (aIommuType != mHWData->mIommuType)
    12561256    {
     1257        if (aIommuType == IommuType_Intel)
     1258        {
     1259#ifndef VBOX_WITH_IOMMU_INTEL
     1260            LogRelFunc(("Setting Intel IOMMU when Intel IOMMU support not available!\n"));
     1261            return NS_ERROR_UNEXPECTED;
     1262#endif
     1263        }
     1264
    12571265        i_setModified(IsModified_MachineData);
    12581266        mHWData.backup();
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette