VirtualBox

Changeset 70941 in vbox


Ignore:
Timestamp:
Feb 9, 2018 7:41:03 PM (7 years ago)
Author:
vboxsync
Message:

VMM: Don't assert on VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT.

File:
1 edited

Legend:

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

    r70918 r70941  
    664664        }
    665665
    666         if (   (   RT_FAILURE(rc)
    667                 && rc != VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT)
    668             || (rc >= VINF_EM_FIRST && rc <= VINF_EM_LAST) )
    669         {
    670             VMMR3FatalDump(pVM, pVCpu, rc);
    671             if (rc >= VINF_EM_FIRST && rc <= VINF_EM_LAST)
    672                 rc = VERR_IPE_UNEXPECTED_INFO_STATUS;
    673         }
    674         AssertRC(rc);
     666        /* Don't trigger assertions or guru if raw-mode is unavailable. */
     667        if (rc != VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT)
     668        {
     669            if (RT_FAILURE(rc) || (rc >= VINF_EM_FIRST && rc <= VINF_EM_LAST))
     670            {
     671                VMMR3FatalDump(pVM, pVCpu, rc);
     672                if (rc >= VINF_EM_FIRST && rc <= VINF_EM_LAST)
     673                    rc = VERR_IPE_UNEXPECTED_INFO_STATUS;
     674            }
     675            AssertRC(rc);
     676        }
    675677    }
    676678    return rc;
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