summaryrefslogtreecommitdiff
path: root/src/VBox/Devices/VMMDev/VMMDevState.h
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2015-10-09 18:07:59 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2015-10-09 18:07:59 +0000
commitd9d4b364426523188e812b8e3fcfac22e238cc8f (patch)
tree7462be4a65e35a0eaa4d4c5028ee5322f5aec2a6 /src/VBox/Devices/VMMDev/VMMDevState.h
parent28e1c43606d632018abf00bf66082b933d1c7469 (diff)
downloadVirtualBox-svn-d9d4b364426523188e812b8e3fcfac22e238cc8f.tar.gz
VMMDev: Heartbeat adjustments and build fix.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@58161 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Devices/VMMDev/VMMDevState.h')
-rw-r--r--src/VBox/Devices/VMMDev/VMMDevState.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/VBox/Devices/VMMDev/VMMDevState.h b/src/VBox/Devices/VMMDev/VMMDevState.h
index 47840461de4..35407e72d48 100644
--- a/src/VBox/Devices/VMMDev/VMMDevState.h
+++ b/src/VBox/Devices/VMMDev/VMMDevState.h
@@ -359,12 +359,14 @@ typedef struct VMMDevState
RTTEST hTestingTest;
#endif /* !VBOX_WITHOUT_TESTING_FEATURES */
+ /** @name Heartbeat
+ * @{ */
/** Timestamp of the last heartbeat from guest in nanosec. */
uint64_t volatile nsLastHeartbeatTS;
/** Indicates whether we missed HB from guest on last check. */
- bool volatile fHasMissedHB;
+ bool volatile fFlatlined;
/** Indicates whether heartbeat check is active. */
- bool volatile fHBCheckEnabled;
+ bool volatile fHeartbeatActive;
/** Alignment padding. */
bool afAlignment8[6];
/** Guest heartbeat interval in nanoseconds.
@@ -374,7 +376,8 @@ typedef struct VMMDevState
* conclude the guest is doing a Dixie Flatline (Neuromancer) impression. */
uint64_t cNsHeartbeatTimeout;
/** Timer for signalling a flatlined guest. */
- PTMTIMERR3 pHearbeatFlatlinedTimer;
+ PTMTIMERR3 pFlatlinedTimer;
+ /** @} */
} VMMDevState;
typedef VMMDevState VMMDEV;
/** Pointer to the VMM device state. */