VirtualBox

Ignore:
Timestamp:
Oct 21, 2021 6:45:26 AM (3 years ago)
Author:
vboxsync
Message:

VMM,Devices: Eliminate direct calls to VMMR3 and VMR3 APIs and introduce callbacks in the device helper callback table, bugref:10074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevVirtioSCSI.cpp

    r91703 r91920  
    23212321    if (pThisCC->pMediaNotify)
    23222322    {
    2323         int rc = VMR3ReqCallNoWait(PDMDevHlpGetVM(pDevIns), VMCPUID_ANY,
    2324                                    (PFNRT)pThisCC->pMediaNotify->pfnEjected, 2,
    2325                                    pThisCC->pMediaNotify, pTarget->uTarget);
     2323        int rc = PDMDevHlpVMReqCallNoWait(pDevIns, VMCPUID_ANY,
     2324                                          (PFNRT)pThisCC->pMediaNotify->pfnEjected, 2,
     2325                                          pThisCC->pMediaNotify, pTarget->uTarget);
    23262326        AssertRC(rc);
    23272327    }
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