VirtualBox

Changeset 74543 in vbox for trunk


Ignore:
Timestamp:
Oct 1, 2018 7:36:57 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 Comment regarding caching of VMCS related data structures.

File:
1 edited

Legend:

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

    r74542 r74543  
    47714771    }
    47724772
     4773    /*
     4774     * We are allowed to cache VMCS related data structures (such as I/O bitmaps, MSR bitmaps)
     4775     * while entering VMX non-root mode. We do some of this while checking VM-execution
     4776     * controls. The guest hypervisor should not make assumptions and is cannot expect
     4777     * predictable behavior if changes to these structures are made in guest memory after
     4778     * executing VMX non-root mode. As far as VirtualBox is concerned, the guest cannot modify
     4779     * them anyway as we cache them in host memory. We are trade memory for speed here.
     4780     *
     4781     * See Intel spec. 24.11.4 "Software Access to Related Structures".
     4782     */
    47734783    rc = iemVmxVmentryCheckExecCtls(pVCpu, pszInstr);
    47744784    if (RT_SUCCESS(rc))
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