From: Amit Shah <amit.shah@redhat.com>
To: Nils Carlson <pyssling@ludd.ltu.se>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
liangshunbin@jovaunn.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qemu-char: Fix missed data on unix socket
Date: Thu, 16 Jul 2015 16:49:54 +0530 [thread overview]
Message-ID: <20150716111954.GY10280@grmbl.mre> (raw)
In-Reply-To: <alpine.DEB.2.02.1507161002210.23581@luminous.ludd.ltu.se>
On (Thu) 16 Jul 2015 [10:11:04], Nils Carlson wrote:
> On Thu, 16 Jul 2015, Amit Shah wrote:
>
> >On (Wed) 15 Jul 2015 [23:44:52], Nils Carlson wrote:
> >>On Mon, 13 Jul 2015, Nils Carlson wrote:
> >>
> >>>On Mon, 13 Jul 2015, Amit Shah wrote:
> >>
> >><snip>
> >>
> >>>>Also, returning TRUE there isn't right - if the connection ends, we
> >>>>should return FALSE.
> >>>
> >>>I agree that this seems reasonable. I will change it and re-test.
> >>>
> >>
> >>I had a closer look, and it seems always returning true is intentional here,
> >>the called function, tcp_chr_disconnect(chr), handles the deregistration
> >>from handlers. If we were to return FALSE we would be duplicating work and
> >>possibly breaking things.
> >
> >Not sure how.
> >
> >Anyway, can you please start a new thread, with the author and
> >reviewers of the patch CC'ed, so they can chime in as well?
>
> The authors and reviewers of which patch exactly?
>
> The fix for windows which broke cloudstack was done in 812c1057.
Yea, the author of this patch. Also, I meant the return TRUE in this
patch, not the one Paolo added.
> The returning TRUE everywhere was done in commit cdbf6e16 by Paolo Bonzini,
> CC:d above.
>
> I don't think there was anything wrong with either patch, the former one
> simply broken a strange behaviour CloudStack was relying on which I would
> say is dubious (fire and forget messaging.)
There need not be anything wrong with a previous patch; but just
because someone touched the area recently, they might have more
context, and even help in spotting the bug.
Amit
prev parent reply other threads:[~2015-07-16 11:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-13 8:13 [Qemu-devel] [PATCH] qemu-char: Fix missed data on unix socket pyssling
2015-07-13 10:15 ` Paolo Bonzini
2015-07-13 10:41 ` Amit Shah
2015-07-13 13:15 ` Nils Carlson
2015-07-15 21:44 ` Nils Carlson
2015-07-16 6:24 ` Amit Shah
2015-07-16 8:11 ` Nils Carlson
2015-07-16 11:19 ` Amit Shah [this message]
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=20150716111954.GY10280@grmbl.mre \
--to=amit.shah@redhat.com \
--cc=liangshunbin@jovaunn.com \
--cc=pbonzini@redhat.com \
--cc=pyssling@ludd.ltu.se \
--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).