VirtualBox

Changeset 14902 in vbox for trunk/src


Ignore:
Timestamp:
Dec 2, 2008 2:24:03 PM (16 years ago)
Author:
vboxsync
Message:

HWACCM: Overlooked one fallback from VT-x to rawmode (darwin).

File:
1 edited

Legend:

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

    r14899 r14902  
    297297        LogRel(("HWACCM: No VMX or SVM CPU extension found. Reason %Rrc\n", pVM->hwaccm.s.lLastError));
    298298        LogRel(("HWACCM: VMX MSR_IA32_FEATURE_CONTROL=%RX64\n", pVM->hwaccm.s.vmx.msr.feature_ctrl));
     299#ifdef RT_OS_DARWIN
     300        if (VMMIsHwVirtExtForced(pVM))
     301            return VM_SET_ERROR(pVM, VERR_VMX_NO_VMX, "VT-x is not available.");
     302#endif
    299303        return VINF_SUCCESS;
    300304    }
     
    323327        if (VMMIsHwVirtExtForced(pVM))
    324328            VM_SET_ERROR(pVM, rc, "An active VM already uses software virtualization. It is not allowed to "
    325                          "simultaneously use VT-x.\n");
     329                         "simultaneously use VT-x.");
    326330        else
    327331            VM_SET_ERROR(pVM, rc, "An active VM already uses Intel VT-x hardware acceleration. It is not "
    328                          "allowed to simultaneously use software virtualization.\n");
     332                         "allowed to simultaneously use software virtualization.");
    329333        return rc;
    330334
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