]> git.proxmox.com Git - mirror_qemu.git/commit
util: add qemu-co-timeout
authorVladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Thu, 7 Apr 2022 13:27:23 +0000 (16:27 +0300)
committerVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Wed, 29 Jun 2022 07:56:12 +0000 (10:56 +0300)
commite1878eb5f0d93a67deb46aaeea898cf4824a759a
tree6601b84c8a70c4cad699e0d65f9c4f318a5021c8
parentdd3e97dfbe199fa277869d127884071100a426e5
util: add qemu-co-timeout

Add new API, to make a time limited call of the coroutine.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
include/qemu/coroutine.h
util/meson.build
util/qemu-co-timeout.c [new file with mode: 0644]