VirtualBox

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


Ignore:
Timestamp:
Nov 9, 2023 11:27:42 AM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160120
Message:

VMM: Nested VMX: bugref:10318 Discard unused VMCS launch-state bits and update 'VMCLEAR' VMCS launch-state bit to be 0.

File:
1 edited

Legend:

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

    r100993 r102020  
    285285    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    286286
    287     int rc = VMXLoadVmcs(pVmcsInfo->HCPhysVmcs);
    288     if (RT_SUCCESS(rc))
    289         pVmcsInfo->fVmcsState |= VMX_V_VMCS_LAUNCH_STATE_CURRENT;
    290     return rc;
     287    return VMXLoadVmcs(pVmcsInfo->HCPhysVmcs);
    291288}
    292289
     
    30133010        }
    30143011        else
    3015             LogRelFunc(("Failed to load the %s. rc=%Rrc\n", rc, pszVmcs));
     3012            LogRelFunc(("Failed to load the %s. rc=%Rrc\n", pszVmcs, rc));
    30163013    }
    30173014    else
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette