VirtualBox

Changeset 14887 in vbox for trunk/src/VBox/VMM/PATM


Ignore:
Timestamp:
Dec 2, 2008 10:15:21 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
40227
Message:

Disallow any mixed use of hwaccm & software virtualization. Don't override the setting anymore.

File:
1 edited

Legend:

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

    r14885 r14887  
    707707#endif
    708708
    709     /* 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. */
    710     if (    PATMIsEnabled(pVM)
    711         &&  HWACCMIsEnabled(pVM))
    712     {
    713         if (CPUMGetCPUVendor(pVM) == CPUMCPUVENDOR_AMD)
    714             VM_SET_ERROR(pVM, rc, "An active VM already uses AMD-V hardware acceleration. It is not "
    715                                   "allowed to simultaneously use software virtualization.\n");
    716         else
    717             VM_SET_ERROR(pVM, rc, "An active VM already uses Intel VT-x hardware acceleration. It is not "
    718                                   "allowed to simultaneously use software virtualization.\n");
    719         return VERR_ACCESS_DENIED;
    720     }
    721 
    722709    return VINF_SUCCESS;
    723710}
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