VirtualBox

Changeset 101474 in vbox for trunk


Ignore:
Timestamp:
Oct 17, 2023 11:55:39 AM (12 months ago)
Author:
vboxsync
Message:

Main/ConsoleImpl: Add parameter to the method configuring the VMM device to indicate whether to expose the MMIO interface, bugref:10528

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ConsoleImpl.h

    r101469 r101474  
    856856    int i_configAudioCtrl(ComPtr<IVirtualBox> pVBox, ComPtr<IMachine> pMachine, BusAssignmentManager *pBusMgr, PCFGMNODE pDevices,
    857857                          bool fOsXGuest, bool *pfAudioEnabled);
    858     int i_configVmmDev(ComPtr<IMachine> pMachine, BusAssignmentManager *pBusMgr, PCFGMNODE pDevices);
     858    int i_configVmmDev(ComPtr<IMachine> pMachine, BusAssignmentManager *pBusMgr, PCFGMNODE pDevices, bool fMmioReq = false);
    859859    int i_configPdm(ComPtr<IMachine> pMachine, PCVMMR3VTABLE pVMM, PUVM pUVM, PCFGMNODE pRoot);
    860860    int i_configUsb(ComPtr<IMachine> pMachine, BusAssignmentManager *pBusMgr, PCFGMNODE pRoot, PCFGMNODE pDevices,
  • trunk/src/VBox/Main/src-client/ConsoleImplConfigCommon.cpp

    r101469 r101474  
    39163916
    39173917
    3918 int Console::i_configVmmDev(ComPtr<IMachine> pMachine, BusAssignmentManager *pBusMgr, PCFGMNODE pDevices)
     3918int Console::i_configVmmDev(ComPtr<IMachine> pMachine, BusAssignmentManager *pBusMgr, PCFGMNODE pDevices, bool fMmioReq)
    39193919{
    39203920    VMMDev *pVMMDev = m_pVMMDev; Assert(pVMMDev);
     
    39343934    InsertConfigInteger(pInst, "Trusted",              1); /* boolean */
    39353935    HRESULT hrc = pBusMgr->assignPCIDevice("VMMDev", pInst);                            H();
     3936    if (fMmioReq)
     3937        InsertConfigInteger(pCfg,  "MmioReq",          1);
    39363938
    39373939    Bstr hwVersion;
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