VirtualBox

Changeset 70357 in vbox for trunk/src


Ignore:
Timestamp:
Dec 27, 2017 9:11:51 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Nested Hw.virt: build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r70356 r70357  
    6868 * \#VMEXIT intercepts that maybe caused during delivering of another
    6969 * event in the guest. */
    70 #define HMSVM_CHECK_EXIT_DUE_TO_EVENT_DELIVERY() \
     70#ifdef VBOX_WITH_NESTED_HWVIRT
     71# define HMSVM_CHECK_EXIT_DUE_TO_EVENT_DELIVERY() \
    7172    do \
    7273    { \
     
    8081            return rc; \
    8182    } while (0)
     83#else
     84# define HMSVM_CHECK_EXIT_DUE_TO_EVENT_DELIVERY() \
     85    do \
     86    { \
     87        int rc = hmR0SvmCheckExitDueToEventDelivery(pVCpu, pCtx, pSvmTransient); \
     88        if (RT_LIKELY(rc == VINF_SUCCESS))        { /* continue #VMEXIT handling */ } \
     89        else if (     rc == VINF_HM_DOUBLE_FAULT) { return VINF_SUCCESS;            } \
     90        else \
     91            return rc; \
     92    } while (0)
     93#endif
    8294
    8395/**
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