VirtualBox

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


Ignore:
Timestamp:
Oct 29, 2018 5:43:34 PM (6 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: For MSR write VM-exits, save the entire FS/GS segment registers (incl. limit, attributes) as we export
all of them wholesale and not just the base when the FS/GS base MSRs are written.

File:
1 edited

Legend:

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

    r75142 r75160  
    1199611996    uint32_t const idMsr = pVCpu->cpum.GstCtx.ecx; /* Save it. */
    1199711997    int rc = hmR0VmxReadExitInstrLenVmcs(pVmxTransient);
    11998     rc    |= HMVMX_CPUMCTX_IMPORT_STATE(pVCpu, IEM_CPUMCTX_EXTRN_EXEC_DECODED_NO_MEM_MASK | CPUMCTX_EXTRN_ALL_MSRS);
     11998    rc    |= HMVMX_CPUMCTX_IMPORT_STATE(pVCpu, IEM_CPUMCTX_EXTRN_EXEC_DECODED_NO_MEM_MASK
     11999                                             | CPUMCTX_EXTRN_ALL_MSRS | CPUMCTX_EXTRN_FS | CPUMCTX_EXTRN_GS);
    1199912000    AssertRCReturn(rc, rc);
    1200012001
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