xref: /openbmc/qemu/stubs/iothread-lock-block.c (revision d2dfe0b5)
1 #include "qemu/osdep.h"
2 #include "qemu/main-loop.h"
3 
4 bool qemu_in_main_thread(void)
5 {
6     return qemu_get_current_aio_context() == qemu_get_aio_context();
7 }
8 
9