From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: amit.shah@redhat.com, aliguori@us.ibm.com, kraxel@redhat.com
Subject: [Qemu-devel] [PATCH v2 0/4] another round of qemu-char fixes
Date: Fri, 19 Apr 2013 17:32:05 +0200 [thread overview]
Message-ID: <1366385529-10329-1-git-send-email-pbonzini@redhat.com> (raw)
These three patches fix the bugs that Gerd reported.
The first patches try to make the code consistent (which should avoid
that half of the drivers bark with CRITICAL messages from glib) and
also fix detection of pty connections so that they do not go berserk
with polling. This is likely the same failure reported by Michael Hines,
but I couldn't reproduce it with "-serial pty", only with the monitor.
The last patch works around a glib bug that happens on RHEL6 and Wheezy,
where destroying a source from a finalize callback can deadlock the
GMainLoop. This bug locks up QEMU when a socket chardev's client
disconnects.
I tested the pty fix on F18 and Gerd tested it on RHEL6. I tested
the socket fix on RHEL6.
I believe these patches let us revert commit 893986f (main-loop: drop
the BQL if the I/O appears to be spinning, 2013-04-05).
Paolo
Paolo Bonzini (4):
qemu-char: use consistent idiom for removing sources
qemu-char: simplify pty polling
qemu-char: correct return value from chr_read functions
qemu-char: do not operate on sources from finalize callbacks
qemu-char.c | 134 ++++++++++++++++++++++++++++++++++++++--------------------
1 files changed, 88 insertions(+), 46 deletions(-)
next reply other threads:[~2013-04-19 15:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 15:32 Paolo Bonzini [this message]
2013-04-19 15:32 ` [Qemu-devel] [PATCH v2 1/4] qemu-char: use consistent idiom for removing sources Paolo Bonzini
2013-04-19 15:32 ` [Qemu-devel] [PATCH v2 2/4] qemu-char: simplify pty polling Paolo Bonzini
2013-04-19 15:32 ` [Qemu-devel] [PATCH v2 3/4] qemu-char: correct return value from chr_read functions Paolo Bonzini
2013-04-19 15:32 ` [Qemu-devel] [PATCH v2 4/4] qemu-char: do not operate on sources from finalize callbacks Paolo Bonzini
2013-04-19 17:12 ` Sander Eikelenboom
2013-04-22 18:34 ` [Qemu-devel] [PATCH v2 0/4] another round of qemu-char fixes Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1366385529-10329-1-git-send-email-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=amit.shah@redhat.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).