Changeset 57052 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jul 22, 2015 10:05:57 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/HM.cpp
r57051 r57052 539 539 { 540 540 case VERR_UNSUPPORTED_CPU: 541 pszMsg = "Unknown CPU, VT-x or AMD-v features cannot be ascertained .";541 pszMsg = "Unknown CPU, VT-x or AMD-v features cannot be ascertained"; 542 542 break; 543 543 544 544 case VERR_VMX_NO_VMX: 545 pszMsg = "VT-x is not available .";545 pszMsg = "VT-x is not available"; 546 546 break; 547 547 548 548 case VERR_VMX_MSR_VMX_DISABLED: 549 pszMsg = "VT-x is disabled in the BIOS .";549 pszMsg = "VT-x is disabled in the BIOS"; 550 550 break; 551 551 552 552 case VERR_VMX_MSR_ALL_VMX_DISABLED: 553 pszMsg = "VT-x is disabled in the BIOS for all CPU modes.";553 pszMsg = "VT-x is disabled in the BIOS for both all CPU modes"; 554 554 break; 555 555 556 556 case VERR_VMX_MSR_LOCKING_FAILED: 557 pszMsg = "Failed to enable and lock VT-x features .";557 pszMsg = "Failed to enable and lock VT-x features"; 558 558 break; 559 559 560 560 case VERR_SVM_NO_SVM: 561 pszMsg = "AMD-V is not available .";561 pszMsg = "AMD-V is not available"; 562 562 break; 563 563 564 564 case VERR_SVM_DISABLED: 565 pszMsg = "AMD-V is disabled in the BIOS (or by the host OS) .";565 pszMsg = "AMD-V is disabled in the BIOS (or by the host OS)"; 566 566 break; 567 567 … … 955 955 { 956 956 case VERR_VMX_IN_VMX_ROOT_MODE: 957 return VM_SET_ERROR(pVM, VERR_VMX_IN_VMX_ROOT_MODE, "VT-x is being used by another hypervisor .");957 return VM_SET_ERROR(pVM, VERR_VMX_IN_VMX_ROOT_MODE, "VT-x is being used by another hypervisor"); 958 958 case VERR_VMX_NO_VMX: 959 return VM_SET_ERROR(pVM, VERR_VMX_NO_VMX, "VT-x is not available .");959 return VM_SET_ERROR(pVM, VERR_VMX_NO_VMX, "VT-x is not available"); 960 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 .");961 return VM_SET_ERROR(pVM, VERR_VMX_MSR_VMX_DISABLED, "VT-x is disabled in the BIOS"); 962 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 .");963 return VM_SET_ERROR(pVM, VERR_VMX_MSR_ALL_VMX_DISABLED, "VT-x is disabled in the BIOS for all CPU modes"); 964 964 case VERR_VMX_MSR_LOCKING_FAILED: 965 return VM_SET_ERROR(pVM, VERR_VMX_MSR_LOCKING_FAILED, "Failed to lock VT-x features while trying to enable VT-x .");965 return VM_SET_ERROR(pVM, VERR_VMX_MSR_LOCKING_FAILED, "Failed to lock VT-x features while trying to enable VT-x"); 966 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 .");967 return VM_SET_ERROR(pVM, VERR_VMX_MSR_VMX_ENABLE_FAILED, "Failed to enable VT-x features"); 968 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 .");969 return VM_SET_ERROR(pVM, VERR_VMX_MSR_SMX_VMX_ENABLE_FAILED, "Failed to enable VT-x features in SMX mode"); 970 970 971 971 case VERR_SVM_IN_USE: 972 return VM_SET_ERROR(pVM, VERR_SVM_IN_USE, "AMD-V is being used by another hypervisor .");972 return VM_SET_ERROR(pVM, VERR_SVM_IN_USE, "AMD-V is being used by another hypervisor"); 973 973 case VERR_SVM_NO_SVM: 974 return VM_SET_ERROR(pVM, VERR_SVM_NO_SVM, "AMD-V is not available .");974 return VM_SET_ERROR(pVM, VERR_SVM_NO_SVM, "AMD-V is not available"); 975 975 case VERR_SVM_DISABLED: 976 return VM_SET_ERROR(pVM, VERR_SVM_DISABLED, "AMD-V is disabled in the BIOS .");976 return VM_SET_ERROR(pVM, VERR_SVM_DISABLED, "AMD-V is disabled in the BIOS"); 977 977 } 978 978 return VMSetError(pVM, pVM->hm.s.lLastError, RT_SRC_POS, "HM ring-0 init failed: %Rrc", pVM->hm.s.lLastError);
Note:
See TracChangeset
for help on using the changeset viewer.