X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=cpus.c;h=b4f8b84b61bcd122c4f30e251541fcd5fe0f4798;hb=4a2696c0d4d80e14a192b28148c6167bc5056f94;hp=b612116f9584c4f7c69a04091476ff1a0464d645;hpb=dcb32f1d8f4125f780ace1fc0b14f1920025a517;p=mirror_qemu.git diff --git a/cpus.c b/cpus.c index b612116f95..b4f8b84b61 100644 --- a/cpus.c +++ b/cpus.c @@ -1839,6 +1839,11 @@ void qemu_mutex_unlock_iothread(void) qemu_mutex_unlock(&qemu_global_mutex); } +void qemu_cond_wait_iothread(QemuCond *cond) +{ + qemu_cond_wait(cond, &qemu_global_mutex); +} + static bool all_vcpus_paused(void) { CPUState *cpu;