VirtualBox

Changeset 64856 in vbox for trunk


Ignore:
Timestamp:
Dec 13, 2016 5:28:40 PM (8 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Comment to clarify VM-exit history updates for 3 edge cases.

File:
1 edited

Legend:

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

    r64837 r64856  
    89548954    }
    89558955
    8956     /* Update the VM-exit history array only if the world-switch was successful. */
     8956    /*
     8957     * Update the VM-exit history array here even if the VM-entry failed due to:
     8958     *  - Invalid guest state.
     8959     *  - MSR loading.
     8960     *  - Machine-check event.
     8961     *
     8962     * In any of the above cases we will still have a "valid" VM-exit reason
     8963     * despite @a fVMEntryFailed being false.
     8964     *
     8965     * See Intel spec. 26.7 "VM-Entry failures during or after loading guest state".
     8966     */
    89578967    HMCPU_EXIT_HISTORY_ADD(pVCpu, pVmxTransient->uExitReason);
    89588968
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