Changeset 72343 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- May 25, 2018 1:24:28 PM (7 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HMAll.cpp
r71910 r72343 358 358 359 359 /** 360 * Checks if this VM is long-mode capable. 360 * Checks if this VM is using HM and is long-mode capable. 361 * 362 * Use VMR3IsLongModeAllowed() instead of this, when possible. 361 363 * 362 364 * @returns true if long mode is allowed, false otherwise. 363 365 * @param pVM The cross context VM structure. 364 * /365 /** @todo NEM: Check users of HMIsLongModeAllowed*/366 * @sa VMR3IsLongModeAllowed, NEMHCIsLongModeAllowed 367 */ 366 368 VMM_INT_DECL(bool) HMIsLongModeAllowed(PVM pVM) 367 369 { -
trunk/src/VBox/VMM/VMMAll/NEMAll.cpp
r72272 r72343 25 25 #include <VBox/vmm/vm.h> 26 26 27 28 /** 29 * Checks if this VM is in NEM mode and is long-mode capable. 30 * 31 * Use VMR3IsLongModeAllowed() instead of this, when possible. 32 * 33 * @returns true if long mode is allowed, false otherwise. 34 * @param pVM The cross context VM structure. 35 * @sa VMR3IsLongModeAllowed, HMIsLongModeAllowed 36 */ 37 VMM_INT_DECL(bool) NEMHCIsLongModeAllowed(PVM pVM) 38 { 39 return pVM->nem.s.fAllow64BitGuests && VM_IS_NEM_ENABLED(pVM); 40 } 27 41 28 42
Note:
See TracChangeset
for help on using the changeset viewer.