VirtualBox

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


Ignore:
Timestamp:
Jun 27, 2019 9:53:17 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131621
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Two more cases (Apic-access and task switch VM-exit) of zero'ing out the wrong struct (copy/paste bug). Fix passing the VM-exit reason to Mov DRx Vm-exit handling, remember 0 is a valid reason, so we can't easily verify if the reason is valid or otherwise if we fail to pass it.

File:
1 edited

Legend:

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

    r79380 r79383  
    1685016850                VMXVEXITINFO ExitInfo;
    1685116851                RT_ZERO(ExitInfo);
     16852                ExitInfo.uReason = pVmxTransient->uExitReason;
    1685216853                ExitInfo.cbInstr = pVmxTransient->cbInstr;
    1685316854                ExitInfo.u64Qual = pVmxTransient->uExitQual;
     
    1694616947    VMXVEXITINFO ExitInfo;
    1694716948    RT_ZERO(ExitInfo);
     16949    ExitInfo.uReason = pVmxTransient->uExitReason;
    1694816950    ExitInfo.cbInstr = pVmxTransient->cbInstr;
    1694916951    ExitInfo.u64Qual = pVmxTransient->uExitQual;
    1695016952
    1695116953    VMXVEXITEVENTINFO ExitEventInfo;
    16952     RT_ZERO(ExitInfo);
     16954    RT_ZERO(ExitEventInfo);
    1695316955    ExitEventInfo.uIdtVectoringInfo    = pVmxTransient->uIdtVectoringInfo;
    1695416956    ExitEventInfo.uIdtVectoringErrCode = pVmxTransient->uIdtVectoringErrorCode;
     
    1725317255        VMXVEXITINFO ExitInfo;
    1725417256        RT_ZERO(ExitInfo);
     17257        ExitInfo.uReason = pVmxTransient->uExitReason;
    1725517258        ExitInfo.cbInstr = pVmxTransient->cbInstr;
    1725617259        ExitInfo.u64Qual = pVmxTransient->uExitQual;
     
    1747017473    VMXVEXITINFO ExitInfo;
    1747117474    RT_ZERO(ExitInfo);
     17475    ExitInfo.uReason = pVmxTransient->uExitReason;
    1747217476    ExitInfo.cbInstr = pVmxTransient->cbInstr;
    1747317477    ExitInfo.u64Qual = pVmxTransient->uExitQual;
    1747417478
    1747517479    VMXVEXITEVENTINFO ExitEventInfo;
    17476     RT_ZERO(ExitInfo);
     17480    RT_ZERO(ExitEventInfo);
    1747717481    ExitEventInfo.uIdtVectoringInfo    = pVmxTransient->uIdtVectoringInfo;
    1747817482    ExitEventInfo.uIdtVectoringErrCode = pVmxTransient->uIdtVectoringErrorCode;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette