VirtualBox

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


Ignore:
Timestamp:
Jul 1, 2016 12:27:46 PM (9 years ago)
Author:
vboxsync
Message:

VMX: Allow 32-bit switcher again if V86 on VMX is in effect.

File:
1 edited

Legend:

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

    r61754 r61977  
    48794879        }
    48804880# ifdef VBOX_ENABLE_64_BITS_GUESTS
    4881         /* Keep using the 64-bit switcher even though we're in 32-bit because of bad Intel design. See @bugref{8432#c7}. */
     4881        /* Keep using the 64-bit switcher even though we're in 32-bit because of bad Intel design. See @bugref{8432#c7}.
     4882         * Except if Real-on-V86 is active, clear the 64-bit switcher flag because now we know the guest is in a sane
     4883         * state where it's safe to use the 32-bit switcher again.
     4884         */
     4885        if (pVCpu->hm.s.vmx.RealMode.fRealOnV86Active)
     4886            pVCpu->hm.s.vmx.fSwitchedTo64on32 = false;
     4887
    48824888        if (!pVCpu->hm.s.vmx.fSwitchedTo64on32)
    48834889            pVCpu->hm.s.vmx.pfnStartVM = VMXR0StartVM32;
    48844890        else
     4891        {
     4892            Assert(!pVCpu->hm.s.vmx.RealMode.fRealOnV86Active);
    48854893            Assert(pVCpu->hm.s.vmx.pfnStartVM == VMXR0SwitcherStartVM64);
     4894        }
    48864895# else
    48874896        pVCpu->hm.s.vmx.pfnStartVM = VMXR0StartVM32;
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