VirtualBox

Changeset 92454 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Nov 16, 2021 10:56:43 AM (3 years ago)
Author:
vboxsync
Message:

VMM/TRPM: Workaround for the NEM on darwin case, bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/TRPM.cpp

    r87779 r92454  
    389389        else
    390390        {
     391#ifdef RT_OS_DARWIN
     392            /** @todo Can this be done prettier? NEM on darwin shares the R0 VMX code which relies on the same behavior as in the non NEM case. */
     393            rc = TRPMAssertTrap(pVCpu, u8Interrupt, TRPM_HARDWARE_INT);
     394            AssertRC(rc);
     395#else
    391396            VBOXSTRICTRC rcStrict = IEMInjectTrap(pVCpu, u8Interrupt, enmEvent, 0, 0, 0);
    392397            /** @todo NSTVMX: NSTSVM: We don't support nested VMX or nested SVM with NEM yet.
     
    394399            if (rcStrict != VINF_SUCCESS)
    395400                return VBOXSTRICTRC_TODO(rcStrict);
     401#endif
    396402        }
    397403        STAM_REL_COUNTER_INC(&pVM->trpm.s.aStatForwardedIRQ[u8Interrupt]);
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