VirtualBox

Changeset 73753 in vbox for trunk


Ignore:
Timestamp:
Aug 18, 2018 4:41:54 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124436
Message:

VMM/HMVMXR0: We shouldn't need to VMCLEAR before VMPTRLD before initializing our VMCS structures for each VCPU.

File:
1 edited

Legend:

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

    r73708 r73753  
    27742774        *(uint32_t *)pVCpu->hm.s.vmx.pvVmcs = RT_BF_GET(pVM->hm.s.vmx.Msrs.u64Basic, VMX_BF_BASIC_VMCS_ID);
    27752775
    2776         /* Initialize our VMCS region in memory, set the VMCS launch state to "clear". */
    2777         rc  = VMXClearVmcs(pVCpu->hm.s.vmx.HCPhysVmcs);
    2778         AssertLogRelMsgRCReturnStmt(rc, ("VMXR0SetupVM: VMXClearVmcs failed! rc=%Rrc\n", rc),
    2779                                     hmR0VmxUpdateErrorRecord(pVCpu, rc), rc);
    2780 
    27812776        /* Load this VMCS as the current VMCS. */
    27822777        rc = VMXActivateVmcs(pVCpu->hm.s.vmx.HCPhysVmcs);
     
    28062801#endif
    28072802
    2808         /* Re-sync the CPU's internal data into our VMCS memory region & reset the launch state to "clear". */
     2803        /* Sync the CPU's internal data into our VMCS memory region & set the launch state to "clear". */
    28092804        rc = VMXClearVmcs(pVCpu->hm.s.vmx.HCPhysVmcs);
    28102805        AssertLogRelMsgRCReturnStmt(rc, ("VMXR0SetupVM: VMXClearVmcs(2) failed! rc=%Rrc\n", rc),
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