diff mbox

[2/2] virtio-serial-bus: wake up iothread upon guest read notification

Message ID 20100312024808.300129379@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marcelo Tosatti March 12, 2010, 2:45 a.m. UTC
None
diff mbox

Patch

Index: qemu-ioworker/hw/virtio-serial-bus.c
===================================================================
--- qemu-ioworker.orig/hw/virtio-serial-bus.c
+++ qemu-ioworker/hw/virtio-serial-bus.c
@@ -331,6 +331,7 @@  static void handle_output(VirtIODevice *
 
 static void handle_input(VirtIODevice *vdev, VirtQueue *vq)
 {
+    qemu_notify_event(main_io_worker);
 }
 
 static uint32_t get_features(VirtIODevice *vdev, uint32_t features)