VirtualBox

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


Ignore:
Timestamp:
Dec 11, 2012 12:14:58 PM (12 years ago)
Author:
vboxsync
Message:

VMM: hungarian.

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

Legend:

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

    r44035 r44089  
    103103
    104104        VMXReadVmcs(VMX_VMCS32_RO_VM_INSTR_ERROR, &instrError);
    105         pVCpu->hm.s.vmx.lasterror.ulInstrError = instrError;
     105        pVCpu->hm.s.vmx.lasterror.u32InstrError = instrError;
    106106    }
    107107    pVM->hm.s.lLastError = rc;
     
    49124912        /* Try to extract more information about what might have gone wrong here. */
    49134913        VMXGetActivateVMCS(&pVCpu->hm.s.vmx.lasterror.u64VMCSPhys);
    4914         pVCpu->hm.s.vmx.lasterror.ulVMCSRevision = *(uint32_t *)pVCpu->hm.s.vmx.pvVMCS;
    4915         pVCpu->hm.s.vmx.lasterror.idEnteredCpu   = pVCpu->hm.s.idEnteredCpu;
    4916         pVCpu->hm.s.vmx.lasterror.idCurrentCpu   = RTMpCpuId();
     4914        pVCpu->hm.s.vmx.lasterror.u32VMCSRevision = *(uint32_t *)pVCpu->hm.s.vmx.pvVMCS;
     4915        pVCpu->hm.s.vmx.lasterror.idEnteredCpu    = pVCpu->hm.s.idEnteredCpu;
     4916        pVCpu->hm.s.vmx.lasterror.idCurrentCpu    = RTMpCpuId();
    49174917    }
    49184918
     
    51755175                Log(("Current stack %08x\n", &rc2));
    51765176
    5177                 pVCpu->hm.s.vmx.lasterror.ulInstrError = instrError;
    5178                 pVCpu->hm.s.vmx.lasterror.ulExitReason = exitReason;
     5177                pVCpu->hm.s.vmx.lasterror.u32InstrError = instrError;
     5178                pVCpu->hm.s.vmx.lasterror.u32ExitReason = exitReason;
    51795179
    51805180#ifdef VBOX_STRICT
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r44085 r44089  
    13281328                LogRel(("HM: VMX setup failed with rc=%Rrc!\n", rc));
    13291329                for (VMCPUID i = 0; i < pVM->cCpus; i++)
    1330                     LogRel(("HM: CPU[%ld] Last instruction error %x\n", i, pVM->aCpus[0].hm.s.vmx.lasterror.ulInstrError));
     1330                    LogRel(("HM: CPU[%ld] Last instruction error %x\n", i, pVM->aCpus[0].hm.s.vmx.lasterror.u32InstrError));
    13311331                pVM->fHMEnabled = false;
    13321332            }
     
    27042704            case VERR_VMX_INVALID_VMCS_PTR:
    27052705                LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Current pointer %RGp vs %RGp\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.u64VMCSPhys, pVM->aCpus[i].hm.s.vmx.HCPhysVMCS));
    2706                 LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Current VMCS version %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.ulVMCSRevision));
     2706                LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Current VMCS version %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.u32VMCSRevision));
    27072707                LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Entered Cpu %d\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.idEnteredCpu));
    27082708                LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Current Cpu %d\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.idCurrentCpu));
     
    27102710
    27112711            case VERR_VMX_UNABLE_TO_START_VM:
    2712                 LogRel(("VERR_VMX_UNABLE_TO_START_VM: CPU%d instruction error %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.ulInstrError));
    2713                 LogRel(("VERR_VMX_UNABLE_TO_START_VM: CPU%d exit reason       %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.ulExitReason));
    2714                 if (pVM->aCpus[i].hm.s.vmx.lasterror.ulInstrError == VMX_ERROR_VMENTRY_INVALID_CONTROL_FIELDS)
     2712                LogRel(("VERR_VMX_UNABLE_TO_START_VM: CPU%d instruction error %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.u32InstrError));
     2713                LogRel(("VERR_VMX_UNABLE_TO_START_VM: CPU%d exit reason       %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.u32ExitReason));
     2714                if (pVM->aCpus[i].hm.s.vmx.lasterror.u32InstrError == VMX_ERROR_VMENTRY_INVALID_CONTROL_FIELDS)
    27152715                {
    27162716                    LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d MSRBitmapPhys %RHp\n", i, pVM->aCpus[i].hm.s.vmx.HCPhysMsrBitmap));
     
    27272727
    27282728            case VERR_VMX_UNABLE_TO_RESUME_VM:
    2729                 LogRel(("VERR_VMX_UNABLE_TO_RESUME_VM: CPU%d instruction error %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.ulInstrError));
    2730                 LogRel(("VERR_VMX_UNABLE_TO_RESUME_VM: CPU%d exit reason       %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.ulExitReason));
     2729                LogRel(("VERR_VMX_UNABLE_TO_RESUME_VM: CPU%d instruction error %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.u32InstrError));
     2730                LogRel(("VERR_VMX_UNABLE_TO_RESUME_VM: CPU%d exit reason       %x\n", i, pVM->aCpus[i].hm.s.vmx.lasterror.u32ExitReason));
    27312731                break;
    27322732
  • trunk/src/VBox/VMM/include/HMInternal.h

    r44036 r44089  
    611611        {
    612612            uint64_t                u64VMCSPhys;
    613             uint32_t                ulVMCSRevision;
    614             uint32_t                ulInstrError;
    615             uint32_t                ulExitReason;
     613            uint32_t                u32VMCSRevision;
     614            uint32_t                u32InstrError;
     615            uint32_t                u32ExitReason;
    616616            RTCPUID                 idEnteredCpu;
    617617            RTCPUID                 idCurrentCpu;
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