VirtualBox

Changeset 76002 in vbox for trunk/src


Ignore:
Timestamp:
Dec 6, 2018 8:47:23 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 Clear MTF on VM-exit. Also APIC-write emulation does not need APIC-register virtualization features. It also happens for VTPR.

File:
1 edited

Legend:

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

    r75995 r76002  
    30583058     * check for it here.
    30593059     */
     3060
     3061    /* Clear the force-flag indicating that monitor-trap flag is no longer active. */
     3062    VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_VMX_PREEMPT_TIMER);
     3063
     3064    /* Cause the MTF VM-exit. The VM-exit qualification MBZ. */
    30603065    iemVmxVmcsSetExitQual(pVCpu, 0);
    30613066    return iemVmxVmexit(pVCpu, VMX_EXIT_MTF);
     
    37723777                pVmcs->u32PreemptTimer = 0;
    37733778
     3779            /* Clear the force-flag indicating the VMX-preemption timer no longer active. */
     3780            VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_VMX_PREEMPT_TIMER);
     3781
    37743782            /* Cause the VMX-preemption timer VM-exit. The VM-exit qualification MBZ. */
    37753783            iemVmxVmcsSetExitQual(pVCpu, 0);
    3776             VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_VMX_PREEMPT_TIMER);
    37773784            return iemVmxVmexit(pVCpu, VMX_EXIT_PREEMPT_TIMER);
    37783785        }
     
    49134920    PCVMXVVMCS pVmcs = pVCpu->cpum.GstCtx.hwvirt.vmx.CTX_SUFF(pVmcs);
    49144921    Assert(pVmcs);
    4915     Assert(pVmcs->u32ProcCtls2 & VMX_PROC_CTLS2_APIC_REG_VIRT);
    49164922
    49174923    /*
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