xref: /openbmc/qemu/stubs/iothread-lock-block.c (revision 49f95221)
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