VirtualBox

Changeset 92040 in vbox for trunk


Ignore:
Timestamp:
Oct 25, 2021 2:49:39 PM (3 years ago)
Author:
vboxsync
Message:

Main/MachineImpl: Only query the recommended firmware type if the OS type interface is provided, regression fix from r147337, bugref:9580 and bugref:10075

File:
1 edited

Legend:

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

    r91747 r92040  
    354354            /* Let the OS type enable the X2APIC */
    355355            mHWData->mX2APIC = aOsType->i_recommendedX2APIC();
     356
     357            rc = aOsType->COMGETTER(RecommendedFirmware)(&mHWData->mFirmwareType);
     358            AssertComRC(rc);
    356359        }
    357360        else if (!strOsType.isEmpty())
     
    365368            mHWData->mX2APIC = false;
    366369        }
    367 
    368         rc = aOsType->COMGETTER(RecommendedFirmware)(&mHWData->mFirmwareType);
    369         AssertComRC(rc);
    370370
    371371        /* Apply BIOS defaults. */
Note: See TracChangeset for help on using the changeset viewer.

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