VirtualBox

Changeset 80102 in vbox for trunk/src


Ignore:
Timestamp:
Aug 1, 2019 2:23:00 PM (5 years ago)
Author:
vboxsync
Message:

VMM: Kicking out raw-mode and 32-bit hosts - CPUM. [saved state fix] bugref:9517 bugref:9511

File:
1 edited

Legend:

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

    r80064 r80102  
    25262526    SSMR3PutU32(pSSM, pVM->cCpus);
    25272527    SSMR3PutU32(pSSM, sizeof(pVM->aCpus[0].cpum.s.GuestMsrs.msr));
     2528    CPUMCTX DummyHyperCtx;
     2529    RT_ZERO(DummyHyperCtx);
    25282530    for (VMCPUID iCpu = 0; iCpu < pVM->cCpus; iCpu++)
    25292531    {
    25302532        PVMCPU pVCpu = &pVM->aCpus[iCpu];
    25312533
    2532         SSMR3PutStructEx(pSSM, &pVCpu->cpum.s.Hyper,     sizeof(pVCpu->cpum.s.Hyper),     0, g_aCpumCtxFields, NULL);
     2534        SSMR3PutStructEx(pSSM, &DummyHyperCtx,           sizeof(DummyHyperCtx),           0, g_aCpumCtxFields, NULL);
    25332535
    25342536        PCPUMCTX pGstCtx = &pVCpu->cpum.s.Guest;
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