qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v6 18/18] virtio-serial-bus: wake up iothread upon g


From: Amit Shah
Subject: [Qemu-devel] [PATCH v6 18/18] virtio-serial-bus: wake up iothread upon guest read notification
Date: Tue, 27 Apr 2010 18:04:12 +0530

From: Marcelo Tosatti <address@hidden>

Wake up iothread when buffers are consumed.

Signed-off-by: Marcelo Tosatti <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
---
 hw/virtio-serial-bus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/virtio-serial-bus.c b/hw/virtio-serial-bus.c
index 97694d5..ee868e9 100644
--- a/hw/virtio-serial-bus.c
+++ b/hw/virtio-serial-bus.c
@@ -417,6 +417,7 @@ static void handle_output(VirtIODevice *vdev, VirtQueue *vq)
 
 static void handle_input(VirtIODevice *vdev, VirtQueue *vq)
 {
+    qemu_notify_event();
 }
 
 static uint32_t get_features(VirtIODevice *vdev, uint32_t features)
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]