diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-27 12:43:06 +0100 |
|---|---|---|
| committer | Greg Kurz <gkurz@linux.vnet.ibm.com> | 2015-11-30 12:36:12 +0100 |
| commit | ebac1202c95a4f1b76b6ef3f0f63926fa76e753e (patch) | |
| tree | dade9efdf1badf5572f9738601b2c4d64f9c97a7 /migration/qemu-file-unix.c | |
| parent | 49f817caaf4460f4a8dfca190f31a57569fc9efe (diff) | |
| download | focaccia-qemu-ebac1202c95a4f1b76b6ef3f0f63926fa76e753e.tar.gz focaccia-qemu-ebac1202c95a4f1b76b6ef3f0f63926fa76e753e.zip | |
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 <pbonzini@redhat.com> Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com> (removed no more needed #include <glib.h> from virtio-9p-coth.h) Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Diffstat (limited to 'migration/qemu-file-unix.c')
0 files changed, 0 insertions, 0 deletions