diff --git a/srcpkgs/qemu/patches/virtio-9p-use-accessor-to-get-thread_pool.patch b/srcpkgs/qemu/patches/virtio-9p-use-accessor-to-get-thread_pool.patch new file mode 100644 index 00000000000..2226070a8c3 --- /dev/null +++ b/srcpkgs/qemu/patches/virtio-9p-use-accessor-to-get-thread_pool.patch @@ -0,0 +1,12 @@ +diff --git a/hw/9pfs/virtio-9p-coth.c b/hw/9pfs/virtio-9p-coth.c +index fb6e8f80e0f4..ab9425c60fd2 100644 +--- hw/9pfs/virtio-9p-coth.c ++++ hw/9pfs/virtio-9p-coth.c +@@ -36,6 +36,6 @@ static int coroutine_enter_func(void *arg) + void co_run_in_worker_bh(void *opaque) + { + Coroutine *co = opaque; +- thread_pool_submit_aio(qemu_get_aio_context()->thread_pool, ++ thread_pool_submit_aio(aio_get_thread_pool(qemu_get_aio_context()), + coroutine_enter_func, co, coroutine_enter_cb, co); + } diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index b06bbc2c14a..975c493c5f7 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -1,7 +1,7 @@ # Template file for 'qemu' pkgname=qemu version=2.5.0 -revision=2 +revision=3 short_desc="Open Source Processor Emulator" maintainer="Juan RP " homepage="http://qemu.org"