VirtualBox

Changeset 57038 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 21, 2015 10:09:23 AM (9 years ago)
Author:
vboxsync
Message:

VMM/HM: Fix copy-paste bug in error reporting VT-x failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r57037 r57038  
    959959                return VM_SET_ERROR(pVM, VERR_VMX_NO_VMX, "VT-x is not available.");
    960960            case VERR_VMX_MSR_VMXON_DISABLED:
    961                 return VM_SET_ERROR(pVM, VERR_VMX_NO_VMX, "VT-x is disabled in the BIOS.");
     961                return VM_SET_ERROR(pVM, VERR_VMX_MSR_VMXON_DISABLED, "VT-x is disabled in the BIOS.");
    962962            case VERR_VMX_MSR_ALL_VMXON_DISABLED:
    963                 return VM_SET_ERROR(pVM, VERR_VMX_NO_VMX, "VT-x is disabled in the BIOS for all CPU modes.");
     963                return VM_SET_ERROR(pVM, VERR_VMX_MSR_ALL_VMXON_DISABLED, "VT-x is disabled in the BIOS for all CPU modes.");
    964964            case VERR_VMX_MSR_LOCKING_FAILED:
    965                 return VM_SET_ERROR(pVM, VERR_VMX_NO_VMX, "Failed to enable and lock VT-x features.");
     965                return VM_SET_ERROR(pVM, VERR_VMX_MSR_LOCKING_FAILED, "Failed to enable and lock VT-x features.");
    966966
    967967            case VERR_SVM_IN_USE:
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