VirtualBox

Changeset 67156 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 31, 2017 9:10:12 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
115832
Message:

VMM/HMSVMR0, VMM/HMSVMAll: Nested Hw.virt: Fixes.

File:
1 edited

Legend:

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

    r67080 r67156  
    18041804    STAM_PROFILE_ADV_START(&pVCpu->hm.s.StatLoadGuestState, x);
    18051805
    1806 #ifdef VBOX_WITH_NESTED_HWVIRT
    1807     /* Nested Hw. virt through SVM R0 execution is not yet implemented, IEM only, we shouldn't get here. */
    1808     if (CPUMIsGuestInNestedHwVirtMode(pCtx))
    1809         return VERR_NOT_IMPLEMENTED;
    1810 #endif
    1811 
    18121806    int rc = hmR0SvmLoadGuestControlRegs(pVCpu, pVmcb, pCtx);
    18131807    AssertLogRelMsgRCReturn(rc, ("hmR0SvmLoadGuestControlRegs! rc=%Rrc (pVM=%p pVCpu=%p)\n", rc, pVM, pVCpu), rc);
     
    29722966{
    29732967    HMSVM_ASSERT_PREEMPT_SAFE();
     2968
     2969#ifdef VBOX_WITH_NESTED_HWVIRT_IN_IEM
     2970    /* Nested Hw. virt through SVM R0 execution is not yet implemented, IEM only, we shouldn't get here. */
     2971    if (CPUMIsGuestInSvmNestedHwVirtMode(pCtx))
     2972        return VINF_EM_RESCHEDULE_REM;
     2973#endif
    29742974
    29752975    /* Check force flag actions that might require us to go back to ring-3. */
Note: See TracChangeset for help on using the changeset viewer.

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