VirtualBox

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


Ignore:
Timestamp:
Jul 22, 2015 9:44:48 AM (10 years ago)
Author:
vboxsync
Message:

VMM, SUPDrv: More fine-grained error codes and checking, corrected typo in a couple of existing error codes.

File:
1 edited

Legend:

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

    r57038 r57051  
    546546                    break;
    547547
    548                 case VERR_VMX_MSR_VMXON_DISABLED:
     548                case VERR_VMX_MSR_VMX_DISABLED:
    549549                    pszMsg = "VT-x is disabled in the BIOS.";
    550550                    break;
    551551
    552                 case VERR_VMX_MSR_ALL_VMXON_DISABLED:
     552                case VERR_VMX_MSR_ALL_VMX_DISABLED:
    553553                    pszMsg = "VT-x is disabled in the BIOS for all CPU modes.";
    554554                    break;
     
    958958            case VERR_VMX_NO_VMX:
    959959                return VM_SET_ERROR(pVM, VERR_VMX_NO_VMX, "VT-x is not available.");
    960             case VERR_VMX_MSR_VMXON_DISABLED:
    961                 return VM_SET_ERROR(pVM, VERR_VMX_MSR_VMXON_DISABLED, "VT-x is disabled in the BIOS.");
    962             case VERR_VMX_MSR_ALL_VMXON_DISABLED:
    963                 return VM_SET_ERROR(pVM, VERR_VMX_MSR_ALL_VMXON_DISABLED, "VT-x is disabled in the BIOS for all CPU modes.");
     960            case VERR_VMX_MSR_VMX_DISABLED:
     961                return VM_SET_ERROR(pVM, VERR_VMX_MSR_VMX_DISABLED, "VT-x is disabled in the BIOS.");
     962            case VERR_VMX_MSR_ALL_VMX_DISABLED:
     963                return VM_SET_ERROR(pVM, VERR_VMX_MSR_ALL_VMX_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_MSR_LOCKING_FAILED, "Failed to enable and lock VT-x features.");
     965                return VM_SET_ERROR(pVM, VERR_VMX_MSR_LOCKING_FAILED, "Failed to lock VT-x features while trying to enable VT-x.");
     966            case VERR_VMX_MSR_VMX_ENABLE_FAILED:
     967                return VM_SET_ERROR(pVM, VERR_VMX_MSR_VMX_ENABLE_FAILED, "Failed to enable VT-x features.");
     968            case VERR_VMX_MSR_SMX_VMX_ENABLE_FAILED:
     969                return VM_SET_ERROR(pVM, VERR_VMX_MSR_SMX_VMX_ENABLE_FAILED, "Failed to enable VT-x features in SMX mode.");
    966970
    967971            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