VirtualBox

Changeset 79346 in vbox


Ignore:
Timestamp:
Jun 26, 2019 9:13:37 AM (5 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Comment nits.

File:
1 edited

Legend:

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

    r79345 r79346  
    1656116561    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(pVCpu, pVmxTransient);
    1656216562
     16563    /*
     16564     * Strictly speaking we should not get VMREAD VM-exits for shadow VMCS fields and
     16565     * thus might not need to import the shadow VMCS state, it's safer just in case
     16566     * code elsewhere dares look at unsynced VMCS fields.
     16567     */
    1656316568    int rc = hmR0VmxReadExitInstrLenVmcs(pVmxTransient);
    1656416569    rc    |= hmR0VmxImportGuestState(pVCpu, pVmxTransient->pVmcsInfo, CPUMCTX_EXTRN_RSP | CPUMCTX_EXTRN_SREG_MASK
     
    1662816633    /*
    1662916634     * Although we should not get VMWRITE VM-exits for shadow VMCS fields, since
    16630      * our HM hook that gets invoked when IEM's VMWRITE instruction emulation
    16631      * modifies the current VMCS signals re-loading the entire shadow VMCS, we
    16632      * should also save the entire shadow VMCS here.
     16635     * our HM hook gets invoked when IEM's VMWRITE instruction emulation modifies
     16636     * the current VMCS signals re-loading the entire shadow VMCS, we should also
     16637     * save the entire shadow VMCS here.
    1663316638     */
    1663416639    int rc = hmR0VmxReadExitInstrLenVmcs(pVmxTransient);
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