VirtualBox

Changeset 73741 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Aug 17, 2018 4:54:52 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124422
Message:

VMM/CPUM: Nested VMX: bugref:9180 build fix.

File:
1 edited

Legend:

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

    r73739 r73741  
    14381438     * Allocate memory required by the guest hardware virtualization state.
    14391439     */
    1440     if (pVM->cpum.ro.GuestFeatures.fSvm)
    1441     {
     1440    if (pVM->cpum.ro.GuestFeatures.fVmx)
     1441        rc = cpumR3AllocVmxHwVirtState(pVM);
     1442    else if (pVM->cpum.ro.GuestFeatures.fSvm)
    14421443        rc = cpumR3AllocSvmHwVirtState(pVM);
    1443         if (RT_FAILURE(rc))
    1444             return rc;
    1445     }
     1444    if (RT_FAILURE(rc))
     1445        return rc;
    14461446
    14471447    /*
     
    15211521
    15221522    if (pVM->cpum.ro.GuestFeatures.fSvm)
     1523        cpumR3FreeVmxHwVirtState(pVM);
     1524    else if (pVM->cpum.ro.GuestFeatures.fSvm)
    15231525        cpumR3FreeSvmHwVirtState(pVM);
    15241526    return VINF_SUCCESS;
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