summaryrefslogtreecommitdiffstats
path: root/qemu/stubs/iothread-lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/stubs/iothread-lock.c')
-rw-r--r--qemu/stubs/iothread-lock.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/qemu/stubs/iothread-lock.c b/qemu/stubs/iothread-lock.c
new file mode 100644
index 000000000..dda6f6b58
--- /dev/null
+++ b/qemu/stubs/iothread-lock.c
@@ -0,0 +1,15 @@
+#include "qemu-common.h"
+#include "qemu/main-loop.h"
+
+bool qemu_mutex_iothread_locked(void)
+{
+ return true;
+}
+
+void qemu_mutex_lock_iothread(void)
+{
+}
+
+void qemu_mutex_unlock_iothread(void)
+{
+}