VirtualBox

Changeset 61626 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 9, 2016 5:31:52 PM (9 years ago)
Author:
vboxsync
Message:

VMX: PGMTrap0eHandler can emulate many interesting things; consider CPU state modified.

File:
1 edited

Legend:

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

    r61544 r61626  
    1342413424    if (rc == VINF_SUCCESS)
    1342513425    {
     13426#if 0
    1342613427        /* Successfully synced shadow pages tables or emulated an MMIO instruction. */
    1342713428        /** @todo this isn't quite right, what if guest does lgdt with some MMIO
     
    1343113432                            | HM_CHANGED_GUEST_RFLAGS
    1343213433                            | HM_CHANGED_VMX_GUEST_APIC_STATE);
     13434#else
     13435        /* This is typically a shadow page table sync or a MMIO instruction. But we
     13436        /* may have emulated something like LTR or a far jump. Any part of the CPU
     13437         * context may have changed.
     13438         */
     13439        /** @todo take advantage of CPUM changed flags instead of brute forcing. */
     13440        HMCPU_CF_SET(pVCpu, HM_CHANGED_ALL_GUEST);
     13441#endif
    1343313442        TRPMResetTrap(pVCpu);
    1343413443        STAM_COUNTER_INC(&pVCpu->hm.s.StatExitShadowPF);
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