VirtualBox

Changeset 7501 in vbox


Ignore:
Timestamp:
Mar 19, 2008 12:40:30 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28960
Message:

Display a warning when a user attempts to mix VT-x/ADM-V and raw mode VMs.

File:
1 edited

Legend:

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

    r7496 r7501  
    238238        pVM->hwaccm.s.fAllowed ^= 1;
    239239        LogRel(("HWACCMR3InitFinalize: new HWACCM status = %s\n", pVM->hwaccm.s.fAllowed ? "enabled" : "disabled"));
     240
     241        if (pVM->hwaccm.s.fAllowed)
     242        {
     243            if (pVM->hwaccm.s.vmx.fSupported)
     244                VMSetRuntimeError(pVM, false, "HwAccmModeChangeDisallowed", "An active VM already uses Intel VT-x hardware acceleration. It is not allowed to simultaneously use software virtualization, therefor this VM will be run using VT-x as well.\n");
     245            else
     246                VMSetRuntimeError(pVM, false, "HwAccmModeChangeDisallowed", "An active VM already uses AMD-V hardware acceleration. It is not allowed to simultaneously use software virtualization, therefor this VM will be run using AMD-V as well.\n");
     247        }
     248        else
     249            VMSetRuntimeError(pVM, false, "HwAccmModeChangeDisallowed", "An active VM already uses software virtualization. It is not allowed to simultaneously use VT-x or AMD-V, therefor this VM will be run using software virtualization as well.\n");
    240250    }
    241251
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