VirtualBox

Changeset 92526 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Nov 21, 2021 2:27:24 AM (3 years ago)
Author:
vboxsync
Message:

VMM/SELM: Make sure we have the GDTR & LDTR as well as paging related state before we start displaying the tables in the info handlers. This fixes some annoying shutdown assertions in NEM mode. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/SELM.cpp

    r85968 r92526  
    569569    /** @todo SMP support! */
    570570    PVMCPU      pVCpu = VMMGetCpu(pVM);
     571    CPUMImportGuestStateOnDemand(pVCpu, CPUMCTX_EXTRN_CR0  | CPUMCTX_EXTRN_CR3 | CPUMCTX_EXTRN_CR4
     572                                      | CPUMCTX_EXTRN_EFER | CPUMCTX_EXTRN_GDTR);
    571573
    572574    VBOXGDTR    GDTR;
     
    612614    /** @todo SMP support! */
    613615    PVMCPU   pVCpu = VMMGetCpu(pVM);
     616    CPUMImportGuestStateOnDemand(pVCpu, CPUMCTX_EXTRN_CR0  | CPUMCTX_EXTRN_CR3  | CPUMCTX_EXTRN_CR4
     617                                      | CPUMCTX_EXTRN_EFER | CPUMCTX_EXTRN_GDTR | CPUMCTX_EXTRN_LDTR);
    614618
    615619    uint64_t GCPtrLdt;
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