[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL][PATCH 4/5] Kick io-thread on qemu_chr_accept_input
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PULL][PATCH 4/5] Kick io-thread on qemu_chr_accept_input |
Date: |
Mon, 16 Apr 2012 17:36:32 +0200 |
Once a chr frontend is able to receive input again, we need to inform
the io-thread about this fact. Otherwise, main_loop_wait may continue to
select without the related backend file descriptor in its set. This can
cause high input latencies if only low-rate events arrive otherwise.
Signed-off-by: Jan Kiszka <address@hidden>
---
qemu-char.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index bb9e3f5..74c60e1 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -177,6 +177,7 @@ void qemu_chr_accept_input(CharDriverState *s)
{
if (s->chr_accept_input)
s->chr_accept_input(s);
+ qemu_notify_event();
}
void qemu_chr_fe_printf(CharDriverState *s, const char *fmt, ...)
--
1.7.3.4
- [Qemu-devel] [PULL][PATCH 0/5] Pending assorted patches in my queue, Jan Kiszka, 2012/04/16
- [Qemu-devel] [PULL][PATCH 4/5] Kick io-thread on qemu_chr_accept_input,
Jan Kiszka <=
- [Qemu-devel] [PULL][PATCH 2/5] pcnet: Clear ERR in CSR0 on stop, Jan Kiszka, 2012/04/16
- [Qemu-devel] [PULL][PATCH 3/5] pcnet: Properly handle TX requests during Link Fail, Jan Kiszka, 2012/04/16
- [Qemu-devel] [PULL][PATCH 5/5] vapic: Disable for pre-1.1 machines, Jan Kiszka, 2012/04/16
- [Qemu-devel] [PULL][PATCH 1/5] signrom: Rewrite as python script, Jan Kiszka, 2012/04/16
- Re: [Qemu-devel] [PULL][PATCH 0/5] Pending assorted patches in my queue, Anthony Liguori, 2012/04/16