qemu: don't segfault when using 9p
This commit is contained in:
parent
5379c9b4e4
commit
2153fd50f2
@ -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);
|
||||
}
|
@ -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 <xtraeme@voidlinux.eu>"
|
||||
homepage="http://qemu.org"
|
||||
|
Loading…
Reference in New Issue
Block a user