VirtualBox

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


Ignore:
Timestamp:
Oct 25, 2012 4:35:37 PM (12 years ago)
Author:
vboxsync
Message:

VMM: Some naming adjustments.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

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

    r43657 r43746  
    338338        SVM_VMCB *pvVMCB = (SVM_VMCB *)pVM->aCpus[i].hm.s.svm.pvVMCB;
    339339
    340         AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_HMSVM_INVALID_PVMCB);
     340        AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_SVM_INVALID_PVMCB);
    341341
    342342        /*
     
    755755
    756756    pvVMCB = (SVM_VMCB *)pVCpu->hm.s.svm.pvVMCB;
    757     AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_HMSVM_INVALID_PVMCB);
     757    AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_SVM_INVALID_PVMCB);
    758758
    759759    /* Guest CPU context: ES, CS, SS, DS, FS, GS. */
     
    12231223
    12241224    pvVMCB = (SVM_VMCB *)pVCpu->hm.s.svm.pvVMCB;
    1225     AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_HMSVM_INVALID_PVMCB);
     1225    AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_SVM_INVALID_PVMCB);
    12261226
    12271227    /*
     
    20902090        default:
    20912091            AssertMsgFailed(("Unexpected vm-exit caused by exception %x\n", vector));
    2092             rc = VERR_HMSVM_UNEXPECTED_XCPT_EXIT;
     2092            rc = VERR_SVM_UNEXPECTED_XCPT_EXIT;
    20932093            break;
    20942094
     
    27592759    default:
    27602760        /* Unexpected exit codes. */
    2761         rc = VERR_HMSVM_UNEXPECTED_EXIT;
     2761        rc = VERR_SVM_UNEXPECTED_EXIT;
    27622762        AssertMsgFailed(("Unexpected exit code %x\n", exitCode));                 /* Can't happen. */
    27632763        break;
     
    28772877
    28782878            default:
    2879                     AssertMsgFailedReturn(("Unexpected type %d\n", pPatch->enmType), VERR_HMSVM_UNEXPECTED_PATCH_TYPE);
     2879                    AssertMsgFailedReturn(("Unexpected type %d\n", pPatch->enmType), VERR_SVM_UNEXPECTED_PATCH_TYPE);
    28802880        }
    28812881    }
     
    30443044
    30453045        pvVMCB = (SVM_VMCB *)pVCpu->hm.s.svm.pvVMCB;
    3046         AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_HMSVM_INVALID_PVMCB);
     3046        AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_SVM_INVALID_PVMCB);
    30473047
    30483048#if HC_ARCH_BITS == 32
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r43737 r43746  
    22412241    }
    22422242
    2243     pVCpu->hm.s.vmx.cCachedMsrs = idxMsr;
     2243    pVCpu->hm.s.vmx.cGuestMsrs = idxMsr;
    22442244
    22452245    rc = VMXWriteVMCS(VMX_VMCS32_CTRL_ENTRY_MSR_LOAD_COUNT, idxMsr);
     
    24402440     * Save the possibly changed MSRs that we automatically restore and save during a world switch.
    24412441     */
    2442     for (unsigned i = 0; i < pVCpu->hm.s.vmx.cCachedMsrs; i++)
     2442    for (unsigned i = 0; i < pVCpu->hm.s.vmx.cGuestMsrs; i++)
    24432443    {
    24442444        PVMXMSR pMsr = (PVMXMSR)pVCpu->hm.s.vmx.pvGuestMsr;
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r43670 r43746  
    27152715                    LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d GuestMSRPhys  %RHp\n", i, pVM->aCpus[i].hm.s.vmx.HCPhysGuestMsr));
    27162716                    LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d HostMsrPhys   %RHp\n", i, pVM->aCpus[i].hm.s.vmx.HCPhysHostMsr));
    2717                     LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d Cached MSRs   %x\n",   i, pVM->aCpus[i].hm.s.vmx.cCachedMsrs));
     2717                    LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d cGuestMSRs    %x\n",   i, pVM->aCpus[i].hm.s.vmx.cGuestMsrs));
    27182718#endif
    27192719                }
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