VirtualBox

Changeset 65564 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 1, 2017 12:34:55 PM (8 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: While leaving VT-x (preemption/longjmp/ring-3 returns), save the guest CR0 from the VMCS into the guest-CPU context before flagging it to be re-loaded

File:
1 edited

Legend:

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

    r65475 r65564  
    71667166    if (CPUMR0FpuStateMaybeSaveGuestAndRestoreHost(pVCpu))
    71677167    {
    7168         if (fSaveGuestState)
    7169         {
    7170             /* We shouldn't reload CR0 without saving it first. */
     7168        /* We shouldn't reload CR0 without saving it first. */
     7169        if (!fSaveGuestState)
     7170        {
    71717171            int rc = hmR0VmxSaveGuestCR0(pVCpu, pMixedCtx);
    71727172            AssertRCReturn(rc, 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