VirtualBox

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


Ignore:
Timestamp:
Dec 25, 2018 8:01:34 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HM: Cleanup.

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

Legend:

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

    r76468 r76477  
    73047304    if (RT_UNLIKELY(rcExit == VERR_VMX_INVALID_VMCS_PTR))
    73057305    {
    7306         VMXGetActivatedVmcs(&pVCpu->hm.s.vmx.LastError.u64VMCSPhys);
    7307         pVCpu->hm.s.vmx.LastError.u32VMCSRevision = *(uint32_t *)pVCpu->hm.s.vmx.pvVmcs;
    7308         pVCpu->hm.s.vmx.LastError.idEnteredCpu    = pVCpu->hm.s.idEnteredCpu;
     7306        VMXGetActivatedVmcs(&pVCpu->hm.s.vmx.LastError.u64VmcsPhys);
     7307        pVCpu->hm.s.vmx.LastError.u32VmcsRev  = *(uint32_t *)pVCpu->hm.s.vmx.pvVmcs;
     7308        pVCpu->hm.s.vmx.LastError.idEnteredCpu = pVCpu->hm.s.idEnteredCpu;
    73097309        /* LastError.idCurrentCpu was updated in hmR0VmxPreRunGuestCommitted(). */
    73107310    }
  • trunk/src/VBox/VMM/VMMR3/HM.cpp

    r76464 r76477  
    30803080            case VERR_VMX_INVALID_VMCS_PTR:
    30813081                LogRel(("HM: VERR_VMX_INVALID_VMCS_PTR:\n"));
    3082                 LogRel(("HM: CPU[%u] Current pointer      %#RGp vs %#RGp\n", i, pVCpu->hm.s.vmx.LastError.u64VMCSPhys,
     3082                LogRel(("HM: CPU[%u] Current pointer      %#RGp vs %#RGp\n", i, pVCpu->hm.s.vmx.LastError.u64VmcsPhys,
    30833083                                                                                pVCpu->hm.s.vmx.HCPhysVmcs));
    3084                 LogRel(("HM: CPU[%u] Current VMCS version %#x\n", i, pVCpu->hm.s.vmx.LastError.u32VMCSRevision));
     3084                LogRel(("HM: CPU[%u] Current VMCS version %#x\n", i, pVCpu->hm.s.vmx.LastError.u32VmcsRev));
    30853085                LogRel(("HM: CPU[%u] Entered Host Cpu     %u\n",  i, pVCpu->hm.s.vmx.LastError.idEnteredCpu));
    30863086                LogRel(("HM: CPU[%u] Current Host Cpu     %u\n",  i, pVCpu->hm.s.vmx.LastError.idCurrentCpu));
  • trunk/src/VBox/VMM/include/HMInternal.h

    r75821 r76477  
    830830        struct
    831831        {
    832             uint64_t                u64VMCSPhys;
    833             uint32_t                u32VMCSRevision;
     832            uint64_t                u64VmcsPhys;
     833            uint32_t                u32VmcsRev;
    834834            uint32_t                u32InstrError;
    835835            uint32_t                u32ExitReason;
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