From: Wei Liu <wei.liu2@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
Wei Liu <wei.liu2@citrix.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [XTF PATCH v2] xtf-runner: use xl create -Fc directly
Date: Mon, 8 Aug 2016 14:13:42 +0100 [thread overview]
Message-ID: <20160808131342.GI32096@citrix.com> (raw)
In-Reply-To: <86aa4c33-61c8-0f3d-0b6b-9a3f285a44a5@citrix.com>
On Mon, Aug 08, 2016 at 02:06:37PM +0100, Andrew Cooper wrote:
> On 08/08/16 12:24, Wei Liu wrote:
> > Now that xl create -c is fixed in xen-unstable, there is no need to keep
> > the hack to get guest console output anymore.
> >
> > Use xl create -Fc directly, then wait for the xl process to exit. Print
> > any error as it occurs.
> >
> > Signed-off-by: Wei Liu <wei.liu2@citrix.com>
>
> Sadly, now I think about this further, it does re-introduce the
> serialisation problem I was trying specifically trying to avoid.
>
Can you give an example of the race you wanted to avoid?
I thought with the xenconsole work in place I had solved all races I was
aware of, but maybe I missed something obvious.
> You need to run `xl create -F` so you can sensibly wait on the create
> list to avoid tripping up the leak detection.
>
> However, the guest.communicate() call will wait for the guest process to
> terminate, which includes all output.
>
Is there a problem with that?
> Therefore, I think we still need the `xl create -Fp`, `xl console`, `xl
> unpause` dance, where the create process gets put on the create_list,
> and it is the console process which gets communicated with.
>
> This also has the advantage that it doesn't cause ./xtf-runner to break
> against all non-staging trees.
>
I thought we decided to grep log file for that?
Wei.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-08-08 13:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-08 11:24 [XTF PATCH v2] xtf-runner: use xl create -Fc directly Wei Liu
2016-08-08 13:06 ` Andrew Cooper
2016-08-08 13:13 ` Wei Liu [this message]
2016-08-09 13:11 ` Andrew Cooper
2016-08-09 15:37 ` Wei Liu
2016-08-10 11:01 ` Wei Liu
2016-08-10 11:33 ` Andrew Cooper
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=20160808131342.GI32096@citrix.com \
--to=wei.liu2@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=xen-devel@lists.xenproject.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.