qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Marcel Apfelbaum <marcel.a@redhat.com>
Cc: kwolf@redhat.com, Stefan Hajnoczi <stefanha@gmail.com>,
	qemu-devel@nongnu.org, armbru@redhat.com, aliguori@amazon.com,
	afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH V4] tests/libqtest: Fix possible deadlock in qtest initialization
Date: Wed, 12 Mar 2014 09:38:56 +0100	[thread overview]
Message-ID: <20140312083856.GD17763@stefanha-thinkpad.muc.redhat.com> (raw)
In-Reply-To: <1394565655.3981.61.camel@localhost.localdomain>

On Tue, Mar 11, 2014 at 09:20:55PM +0200, Marcel Apfelbaum wrote:
> On Tue, 2014-03-11 at 19:51 +0100, Stefan Hajnoczi wrote:
> > On Tue, Mar 11, 2014 at 03:00:34PM +0200, Marcel Apfelbaum wrote:
> > > 'socket_accept' waits for Qemu to init its unix socket.
> > > If Qemu encounters an error during command line parsing,
> > > it can exit before initializing the communication channel.
> > > 
> > > Using a timeout for sockets fixes the issue.
> > > 
> > > Reviewed-by: Eric Blake <eblake@redhat.com>
> > > Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
> > > ---
> > >  tests/libqtest.c | 13 +++++++++++--
> > >  1 file changed, 11 insertions(+), 2 deletions(-)
> > 
> > Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
> 
> Thanks for the help, Stefan!
> Please be aware that until you take care of the
> "abort during qtest_init" issue, qtest will crash
> on such occasions.
> 
> Last thing,  which maintainer should take this?

Andreas Färber is the most likely victim^H^H^H^H^H^Hmaintainer:

"I don't feel like the official qtest maintainer, but I care and am
actively working on it. I would consider it best to have individual
tests maintained by subsystem maintainers and only define a maintainer
for the core libqtest.c/qtest.c code."

Although I'm interested in libqtest myself I don't have the bandwidth to
review/merge all future patches in that area.

Stefan

      reply	other threads:[~2014-03-12  8:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 13:00 [Qemu-devel] [PATCH V4] tests/libqtest: Fix possible deadlock in qtest initialization Marcel Apfelbaum
2014-03-11 18:51 ` Stefan Hajnoczi
2014-03-11 19:20   ` Marcel Apfelbaum
2014-03-12  8:38     ` Stefan Hajnoczi [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=20140312083856.GD17763@stefanha-thinkpad.muc.redhat.com \
    --to=stefanha@redhat.com \
    --cc=afaerber@suse.de \
    --cc=aliguori@amazon.com \
    --cc=armbru@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=marcel.a@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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).