When trying to mount a 9p filesystem in guest in 2.5 qemu, qemu immediately segfaults.
qemu-system-x86_64 ... -fsdev local,security_model=none,id=fsd0,path=/tmp -device virtio-9p-pci,fsdev=fsd0,mount_tag=fsd0 mount -t 9p -o trans=virtio,version=9p2000.u fsd0 /mnt (SIGSEGV) The problem goes down to the following commit: commit ebac1202c95a4f1b76b6ef3f0f63926fa76e753e Author: Paolo Bonzini <pbonz...@redhat.com> Date: Fri Nov 27 12:43:06 2015 +0100 virtio-9p: use QEMU thread pool The QEMU thread pool already has a mechanism to invoke callbacks in the main thread. It does not need an EventNotifier and it is more efficient too. Use it instead of GAsyncQueue + GThreadPool + glue. As a side effect, it silences Coverity's complaint about an unchecked return value for event_notifier_init. Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Reviewed-by: Greg Kurz <gk...@linux.vnet.ibm.com> (removed no more needed #include <glib.h> from virtio-9p-coth.h) Signed-off-by: Greg Kurz <gk...@linux.vnet.ibm.com> This is a heads-up for now, digging further. /mjt