VirtualBox

Changeset 45513 in vbox


Ignore:
Timestamp:
Apr 12, 2013 10:12:08 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84985
Message:

VMMR0/HMVMXR0: Event injection, don't need to re-clear the field everytime.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r45510 r45513  
    58935893        Assert(!TRPMHasTrap(pVCpu));
    58945894        AssertRCReturn(rc, rc);
    5895         return rc;
    5896     }
    5897 
    5898     /* Clear the VM-entry interruption info. if we're not injecting anything; prevents any stale injection. */
    5899     rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_ENTRY_INTERRUPTION_INFO, 0);
    5900     AssertRCReturn(rc, rc);
     5895    }
     5896
     5897    /*
     5898     * There's no need to clear the entry-interruption information field here if we're not injecting anything. VT-x clears the
     5899     * valid bit on every VM-exit. See Intel spec. 24.8.3 "VM-Entry Controls for Event Injection".
     5900     */
    59015901    return rc;
    59025902}
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