Changeset 73741 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Aug 17, 2018 4:54:52 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 124422
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r73739 r73741 1438 1438 * Allocate memory required by the guest hardware virtualization state. 1439 1439 */ 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) 1442 1443 rc = cpumR3AllocSvmHwVirtState(pVM); 1443 if (RT_FAILURE(rc)) 1444 return rc; 1445 } 1444 if (RT_FAILURE(rc)) 1445 return rc; 1446 1446 1447 1447 /* … … 1521 1521 1522 1522 if (pVM->cpum.ro.GuestFeatures.fSvm) 1523 cpumR3FreeVmxHwVirtState(pVM); 1524 else if (pVM->cpum.ro.GuestFeatures.fSvm) 1523 1525 cpumR3FreeSvmHwVirtState(pVM); 1524 1526 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.