VirtualBox

Changeset 43376 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 20, 2012 5:18:06 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80840
Message:

HWACCMR0.cpp: Report the right status code on VMXEnable failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWACCMR0.cpp

    r43307 r43376  
    483483                         * They should fix their code, but until they do we simply refuse to run.
    484484                         */
    485                         g_HvmR0.lLastError = VERR_VMX_IN_VMX_ROOT_MODE;
     485                        g_HvmR0.lLastError = rc == VERR_VMX_GENERIC ? VERR_VMX_IN_VMX_ROOT_MODE : rc;
    486486                    }
    487487
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