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