VirtualBox

Changeset 71077 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Feb 21, 2018 7:55:38 AM (7 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested Hw.virt: Fix GDTR, IDTR read intercepts. Previously it was combined incorrectly as GDTR read intercept.

File:
1 edited

Legend:

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

    r70948 r71077  
    47104710     *       you really must know.
    47114711     */
     4712    if (IEM_IS_SVM_CTRL_INTERCEPT_SET(pVCpu, SVM_CTRL_INTERCEPT_GDTR_READS))
     4713    {
     4714        Log(("sgdt: Guest intercept -> #VMEXIT\n"));
     4715        IEM_RETURN_SVM_VMEXIT(pVCpu, SVM_EXIT_GDTR_READ, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */);
     4716    }
     4717
    47124718    PCPUMCTX pCtx = IEM_GET_CTX(pVCpu);
    47134719    VBOXSTRICTRC rcStrict = iemMemStoreDataXdtr(pVCpu, pCtx->gdtr.cbGdt, pCtx->gdtr.pGdt, iEffSeg, GCPtrEffDst);
     
    47814787     *       you really must know.
    47824788     */
     4789    if (IEM_IS_SVM_CTRL_INTERCEPT_SET(pVCpu, SVM_CTRL_INTERCEPT_IDTR_READS))
     4790    {
     4791        Log(("sidt: Guest intercept -> #VMEXIT\n"));
     4792        IEM_RETURN_SVM_VMEXIT(pVCpu, SVM_EXIT_IDTR_READ, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */);
     4793    }
     4794
    47834795    PCPUMCTX pCtx = IEM_GET_CTX(pVCpu);
    47844796    VBOXSTRICTRC rcStrict = iemMemStoreDataXdtr(pVCpu, pCtx->idtr.cbIdt, pCtx->idtr.pIdt, iEffSeg, GCPtrEffDst);
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