VirtualBox

Changeset 14883 in vbox


Ignore:
Timestamp:
Dec 2, 2008 9:29:28 AM (16 years ago)
Author:
vboxsync
Message:

We can't allow a patched VM to be restored when we're currently forced to use VT-x, because another VT-x VM is already running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATMSSM.cpp

    r14755 r14883  
    705705    pVM->patm.s.StatInstalled = patmInfo.StatInstalled;
    706706#endif
     707
     708    /* We can't allow a patched VM to be restored when we're currently forced to use VT-x, because another VT-x VM is already running. */
     709    if (    PATMIsEnabled(pVM)
     710        &&  HWACCMIsEnabled(pVM))
     711    {
     712        VM_SET_ERROR(pVM, rc, "An active VM already uses Intel VT-x hardware acceleration. It is not "
     713                              "allowed to simultaneously use software virtualization.\n");
     714        return VERR_ACCESS_DENIED;
     715    }
     716
    707717    return VINF_SUCCESS;
    708718}
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