]> git.proxmox.com Git - mirror_qemu.git/blob - stubs/iothread-lock-block.c
migration: Put the detection logic before auto-converge checking
[mirror_qemu.git] / stubs / iothread-lock-block.c
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