Changeset 98122 in vbox for trunk/include
- Timestamp:
- Jan 19, 2023 12:03:23 AM (23 months ago)
- Location:
- trunk/include/VBox/vmm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmusb.h
r98103 r98122 240 240 * VM Resume notification. 241 241 * 242 * This is not called when the device is hotplugged device, instead 243 * pfnHotPlugged will be called. 244 * 242 245 * @returns VBox status. 243 246 * @param pUsbIns The USB device instance data. … … 260 263 * Called after the constructor when attaching a device at run time. 261 264 * 262 * This can be used to do tasks normally assigned to pfnInitComplete and/or pfnVMPowerOn. 265 * This can be used to do tasks normally assigned to pfnInitComplete and/or 266 * pfnVMPowerOn. There will not be a call to pfnVMResume following this. 263 267 * 264 268 * @returns VBox status. -
trunk/include/VBox/vmm/vm.h
r98103 r98122 989 989 */ 990 990 #define VMSTATE_IS_RUNNING(a_enmVMState) \ 991 ( ( enmVMState) == VMSTATE_RUNNING \992 || ( enmVMState) == VMSTATE_RUNNING_LS )991 ( (a_enmVMState) == VMSTATE_RUNNING \ 992 || (a_enmVMState) == VMSTATE_RUNNING_LS ) 993 993 994 994 /** @def VM_IS_RUNNING_FOR_ASSERTIONS_ONLY … … 1000 1000 ( (pVM)->enmVMState == VMSTATE_RUNNING \ 1001 1001 || (pVM)->enmVMState == VMSTATE_RUNNING_LS ) 1002 1003 1004 /** @def VMSTATE_IS_POWERED_ON 1005 * Checks if the given state indicates the VM is powered on. 1006 * 1007 * @note Excludes all error states, so a powered on VM that hit a fatal error, 1008 * guru meditation, state load failure or similar will not be considered 1009 * powered on by this test. 1010 */ 1011 #define VMSTATE_IS_POWERED_ON(a_enmVMState) \ 1012 ( (a_enmVMState) >= VMSTATE_RESUMING && (a_enmVMState) < VMSTATE_POWERING_OFF ) 1002 1013 1003 1014 /** @def VM_ASSERT_IS_NOT_RUNNING
Note:
See TracChangeset
for help on using the changeset viewer.