Changeset 70977 in vbox for trunk/include/VBox/vmm/vm.h
- Timestamp:
- Feb 12, 2018 8:45:31 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 120824
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vm.h
r70953 r70977 965 965 * 966 966 * @param a_pVM The cross context VM structure. 967 * @sa HMR3IsEnabled, HMIsEnabled967 * @sa VM_IS_HM_OR_NEM_ENABLED, VM_IS_HM_ENABLED, VM_IS_NEM_ENABLED. 968 968 * @internal 969 969 */ … … 981 981 * 982 982 * @param a_pVM The cross context VM structure. 983 * @sa VM_IS_RAW_MODE_ENABLED, HMIsEnabled, HMR3IsEnabled983 * @sa VM_IS_RAW_MODE_ENABLED, VM_IS_HM_ENABLED, VM_IS_NEM_ENABLED. 984 984 * @internal 985 985 */ 986 986 #define VM_IS_HM_OR_NEM_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine != VM_EXEC_ENGINE_RAW_MODE) 987 988 /** 989 * Checks whether HM is being used by this VM. 990 * 991 * @retval true if HM (VT-x/AMD-v) is used. 992 * @retval false if not. 993 * 994 * @param a_pVM The cross context VM structure. 995 * @sa VM_IS_NEM_ENABLED, VM_IS_RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED. 996 * @internal 997 */ 998 #define VM_IS_HM_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine == VM_EXEC_ENGINE_HW_VIRT) 999 1000 /** 1001 * Checks whether NEM is being used by this VM. 1002 * 1003 * @retval true if a native hypervisor API is used. 1004 * @retval false if not. 1005 * 1006 * @param a_pVM The cross context VM structure. 1007 * @sa VM_IS_HM_ENABLED, VM_IS_RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED. 1008 * @internal 1009 */ 1010 #define VM_IS_NEM_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine == VM_EXEC_ENGINE_NATIVE_API) 987 1011 988 1012
Note:
See TracChangeset
for help on using the changeset viewer.