From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel <qemu-devel@nongnu.org>, Amit Shah <amit.shah@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] qemu-char: another io_add_watch_poll fix
Date: Fri, 12 Apr 2013 12:31:03 +0200 [thread overview]
Message-ID: <5167E267.6070204@redhat.com> (raw)
In-Reply-To: <20130412092410.GC17454@amit.redhat.com>
Il 12/04/2013 11:24, Amit Shah ha scritto:
> Can you try multiple writes from the guest? At least 3-4? QEMU
> doesn't detect a backend getting closed right away (another bug), so
> the freeze doesn't trigger til qemu detects there's no chardev
> anymore.
All writes after the second will hang and ^C will return
bash: echo: write error: Interrupted system call
Same for "yes > /dev/vport0p1". The writes hang as soon as I exit nc on
the host, and ^C exits cleanly to the shell.
I think this patch is obvious. You might be seeing another bug that
should be fixed separately.
Paolo
>>> There's a slight difference in my old qemu tree, I have Hans's
>>> "virtio-console: Remove any pending watches on close" patch applied,
>>> which makes use of the tag obtained on adding the watch. That patch
>>> hasn't found its way to master yet, but it should go in soon.
>>
>> I don't have that patch in my (new) tree. It's vanilla upstream QEMU.
>
> Yep, I tested upstream QEMU from master as well. (It's just my 'old'
> qemu tree which has Hans's patches too.)
>
> Amit
>
>
next prev parent reply other threads:[~2013-04-12 10:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-10 13:23 [Qemu-devel] [PATCH] qemu-char: another io_add_watch_poll fix Paolo Bonzini
2013-04-10 17:59 ` Amit Shah
2013-04-11 8:58 ` Paolo Bonzini
2013-04-12 9:24 ` Amit Shah
2013-04-12 10:31 ` Paolo Bonzini [this message]
2013-04-15 21:10 ` Anthony Liguori
2013-04-16 9:15 ` Gerd Hoffmann
2013-04-16 9:34 ` Paolo Bonzini
2013-04-17 15:36 ` Hans de Goede
2013-04-17 16:54 ` Paolo Bonzini
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=5167E267.6070204@redhat.com \
--to=pbonzini@redhat.com \
--cc=amit.shah@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.