[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [patch 2/2] virtio-serial-bus: wake up iothread upon guest
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] [patch 2/2] virtio-serial-bus: wake up iothread upon guest read notification |
Date: |
Thu, 11 Mar 2010 23:45:51 -0300 |
User-agent: |
quilt/0.47-1 |
Wake up iothread when buffers are consumed.
Signed-off-by: Marcelo Tosatti <address@hidden>
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)
- [Qemu-devel] [patch 0/2] introduce QEMUIOWorker and wake up iothread on virtio-serial-bus notification, Marcelo Tosatti, 2010/03/11
- [Qemu-devel] [patch 2/2] virtio-serial-bus: wake up iothread upon guest read notification,
Marcelo Tosatti <=
- [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event, Marcelo Tosatti, 2010/03/11
- Re: [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event, Anthony Liguori, 2010/03/22
- [Qemu-devel] [patch 0/2] introduce QEMUIOWorker and wake up iothread on virtio-serial-bus notification (v2), Marcelo Tosatti, 2010/03/25
- [Qemu-devel] [patch 2/2] virtio-serial-bus: wake up iothread upon guest read notification, Marcelo Tosatti, 2010/03/25
- [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event, Marcelo Tosatti, 2010/03/25
- Re: [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event, Paul Brook, 2010/03/25
- Re: [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event, Marcelo Tosatti, 2010/03/26
- Re: [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event, Paul Brook, 2010/03/26
- Re: [Qemu-devel] [patch 1/2] Pass QEMUIOWorker to qemu_notify_event, Anthony Liguori, 2010/03/26