aboutsummaryrefslogtreecommitdiff
path: root/stubs/runstate-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/runstate-check.c')
-rw-r--r--stubs/runstate-check.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/stubs/runstate-check.c b/stubs/runstate-check.c
new file mode 100644
index 0000000000..bd2e3757ae
--- /dev/null
+++ b/stubs/runstate-check.c
@@ -0,0 +1,6 @@
+#include "sysemu/sysemu.h"
+
+bool runstate_check(RunState state)
+{
+ return state == RUN_STATE_PRELAUNCH;
+}