VirtualBox

Changeset 97006 in vbox


Ignore:
Timestamp:
Oct 5, 2022 2:40:47 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153938
Message:

VMM/IEM-VMX: Added a few missing cPotentialExits++ statements, lots still missing but this is what was needed for some vmread experiments. bugref:10092

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp

    r96964 r97006  
    24332433# else
    24342434    PVMXVVMCS const pVmcs = &pVCpu->cpum.GstCtx.hwvirt.vmx.Vmcs;
     2435
     2436    /* Just count this as an exit and be done with that. */
     2437    pVCpu->iem.s.cPotentialExits++;
    24352438
    24362439    /*
     
    80708073}
    80718074
     8075
    80728076/**
    80738077 * Interface for HM and EM to read a VMCS field from the nested-guest VMCS.
     
    81258129    }
    81268130
     8131    pVCpu->iem.s.cPotentialExits++;
     8132
    81278133    /* VMCS pointer in root mode. */
    81288134    if (   !IEM_VMX_IS_ROOT_MODE(pVCpu)
     
    81718177                     : &pVCpu->cpum.GstCtx.hwvirt.vmx.ShadowVmcs;
    81728178    iemVmxVmreadNoCheck(pVmcs, pu64Dst, u64VmcsField);
     8179    Log4(("vmread %#RX64 => %#RX64\n", u64VmcsField, *pu64Dst));
    81738180    return VINF_SUCCESS;
    81748181}
     
    84258432    }
    84268433
     8434    pVCpu->iem.s.cPotentialExits++;
     8435
    84278436    /* VMCS pointer in root mode. */
    84288437    if (   !IEM_VMX_IS_ROOT_MODE(pVCpu)
     
    85098518                    : &pVCpu->cpum.GstCtx.hwvirt.vmx.ShadowVmcs;
    85108519    iemVmxVmwriteNoCheck(pVmcs, u64Val, u64VmcsField);
     8520    Log4(("vmwrite %#RX64 <= %#RX64\n", u64VmcsField, u64Val));
    85118521
    85128522    if (   !fInVmxNonRootMode
     
    98629872IEM_CIMPL_DEF_0(iemCImpl_vmcall)
    98639873{
     9874    pVCpu->iem.s.cPotentialExits++;
     9875
    98649876#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    98659877    /* Nested-guest intercept. */
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