aboutsummaryrefslogtreecommitdiff
path: root/include/system/tcg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system/tcg.h')
-rw-r--r--include/system/tcg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/system/tcg.h b/include/system/tcg.h
index 7322964..7622dce 100644
--- a/include/system/tcg.h
+++ b/include/system/tcg.h
@@ -17,4 +17,12 @@ extern bool tcg_allowed;
#define tcg_enabled() 0
#endif
+/**
+ * qemu_tcg_mttcg_enabled:
+ * Check whether we are running MultiThread TCG or not.
+ *
+ * Returns: %true if we are in MTTCG mode %false otherwise.
+ */
+bool qemu_tcg_mttcg_enabled(void);
+
#endif