VirtualBox

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


Ignore:
Timestamp:
Feb 1, 2021 11:39:30 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142521
Message:

VMM/HMR3ResetCpu: Only touch the vmx fields if we're in vmx mode.

File:
1 edited

Legend:

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

    r87488 r87497  
    790790     * extra careful if/when the guest switches back to protected mode.
    791791     */
    792     if (enmGuestMode == PGMMODE_REAL)
     792    if (   enmGuestMode == PGMMODE_REAL
     793        && pVM->hm.s.vmx.fEnabled)
    793794    {
    794795        PVMXVMCSINFOSHARED pVmcsInfoShared = hmGetVmxActiveVmcsInfoShared(pVCpu);
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