VirtualBox

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


Ignore:
Timestamp:
May 12, 2023 5:07:30 AM (19 months ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:10318 Nits.

File:
1 edited

Legend:

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

    r99650 r99765  
    65656565             * Disallow APIC-access page and virtual-APIC page from being the same address.
    65666566             * Note! This is not an Intel requirement, but one imposed by our implementation.
     6567             * This is done primarily to simplify recursion scenarios while redirecting accesses
     6568             * between the APIC-access page and the virtual-APIC page. If any nested hypervisor
     6569             * requires this, we can implement it later
    65676570             */
    6568             /** @todo r=ramshankar: This is done primarily to simplify recursion scenarios while
    6569              *        redirecting accesses between the APIC-access page and the virtual-APIC
    6570              *        page. If any nested hypervisor requires this, we can implement it later. */
    65716571            if (pVmcs->u32ProcCtls & VMX_PROC_CTLS_USE_TPR_SHADOW)
    65726572            {
     
    76687668    if (fEntryIntInfoValid)
    76697669    {
    7670         if (VMX_ENTRY_INT_INFO_TYPE(uEntryIntInfo) == VMX_ENTRY_INT_INFO_TYPE_OTHER_EVENT)
     7670        if (VMX_ENTRY_INT_INFO_TYPE(uEntryIntInfo) != VMX_ENTRY_INT_INFO_TYPE_OTHER_EVENT)
     7671            iemVmxVmentryInjectTrpmEvent(pVCpu, pszInstr, uEntryIntInfo, pVmcs->u32EntryXcptErrCode, pVmcs->u32EntryInstrLen,
     7672                                         pVCpu->cpum.GstCtx.cr2);
     7673        else
    76717674        {
    76727675            Assert(VMX_ENTRY_INT_INFO_VECTOR(uEntryIntInfo) == VMX_ENTRY_INT_INFO_VECTOR_MTF);
    76737676            VMCPU_FF_SET(pVCpu, VMCPU_FF_VMX_MTF);
    76747677        }
    7675         else
    7676             iemVmxVmentryInjectTrpmEvent(pVCpu, pszInstr, uEntryIntInfo, pVmcs->u32EntryXcptErrCode, pVmcs->u32EntryInstrLen,
    7677                                          pVCpu->cpum.GstCtx.cr2);
    76787678
    76797679        /*
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