VirtualBox

Changeset 74569 in vbox for trunk/src


Ignore:
Timestamp:
Oct 2, 2018 6:37:23 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 VM-exit bits; Added RDPMC intercept.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r74568 r74569  
    59525952    {
    59535953        Log(("invlpg: Guest intercept (%RGp) -> VM-exit\n", GCPtrPage));
    5954         iemVmxVmexitInstrInvlpg(pVCpu, GCPtrPage, cbInstr);
     5954        return iemVmxVmexitInstrInvlpg(pVCpu, GCPtrPage, cbInstr);
    59555955    }
    59565956#endif
     
    62346234        IEM_VMX_VMEXIT_INSTR_RET(pVCpu, VMX_EXIT_RDTSCP, cbInstr);
    62356235    }
    6236 
    6237     if (IEM_SVM_IS_CTRL_INTERCEPT_SET(pVCpu, SVM_CTRL_INTERCEPT_RDTSCP))
     6236    else if (IEM_SVM_IS_CTRL_INTERCEPT_SET(pVCpu, SVM_CTRL_INTERCEPT_RDTSCP))
    62386237    {
    62396238        Log(("rdtscp: Guest intercept -> #VMEXIT\n"));
     
    62766275        && !(pVCpu->cpum.GstCtx.cr4 & X86_CR4_PCE))
    62776276        return iemRaiseGeneralProtectionFault0(pVCpu);
     6277
     6278    if (IEM_VMX_IS_PROCCTLS_SET(pVCpu, VMX_PROC_CTLS_RDPMC_EXIT))
     6279    {
     6280        Log(("rdpmc: Guest intercept -> VM-exit\n"));
     6281        IEM_VMX_VMEXIT_INSTR_RET(pVCpu, VMX_EXIT_RDPMC, cbInstr);
     6282    }
    62786283
    62796284    if (IEM_SVM_IS_CTRL_INTERCEPT_SET(pVCpu, SVM_CTRL_INTERCEPT_RDPMC))
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