All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [PATCH OSSTEST v2] Add $gho->{Suite} field to guest objects from {prepare, select}guest()
Date: Mon, 23 Nov 2015 16:19:34 +0000	[thread overview]
Message-ID: <1448295574.4973.64.camel@citrix.com> (raw)
In-Reply-To: <22099.15086.667496.183873@mariner.uk.xensource.com>

On Mon, 2015-11-23 at 16:12 +0000, Ian Jackson wrote:
> Ian Campbell writes ("[PATCH OSSTEST v2] Add $gho->{Suite} field to guest
> objects from {prepare,select}guest()"):
> > Currently those places which want this open code a lookup of the
> > {ident}_suite runvar with a fallback to the configuration file.
> > 
> > However selecthost was missing such a lookup in the case where it is
> > constructing a nested L1 host (which begins from the selectguest
> > template), which lead to ts-xen-install on Jessie missing the
> > installation of libnl-route-3-200.
> > 
> > Fix this by having prepareguest() store a {ident}_suite runvar (taking
> > care to handle the case where one is already set by e.g. make-flight)
> > and have selectguest() initialise $gho->Suite from it.
> 
> Having thought about this, ISTM that this will cause strangenesses
> such as runvars called `redhat_suite' with value `jessie' (or
> whatever).
> 
> Perhaps ts-debian*install could call some new function
> debian_guest_suite in Debian.pm ?

Sure. Should it return the suite (to be put into $gho->{Suite} by the
caller) or initialise $gho->{Suite} itself? I lean towards the latter.

Ian.

  reply	other threads:[~2015-11-23 16:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <osstest-65001-mainreport@xen.org>
2015-11-23 10:40 ` [osstest test] 65001: regressions - trouble: broken/fail/pass Ian Campbell
2015-11-23 11:59   ` [PATCH OSSTEST] selecthost: Correctly set ->{Suite} for a nested host in selecthost() Ian Campbell
2015-11-23 12:35   ` [PATCH OSSTEST v2] Add $gho->{Suite} field to guest objects from {prepare, select}guest() Ian Campbell
2015-11-23 16:12     ` Ian Jackson
2015-11-23 16:19       ` Ian Campbell [this message]
2015-11-23 16:48         ` Ian Jackson
2015-11-23 16:57           ` Ian Campbell
2015-11-24  9:25   ` [PATCH v3] Set {ident}_suite runvar when install a Debian guest Ian Campbell
2015-11-24 11:17     ` Ian Jackson
2015-11-24 12:41       ` Ian Campbell
2015-11-24 13:40         ` Ian Campbell
2015-11-24 14:17         ` Ian Jackson
2015-11-24 15:14   ` [PATCH OSSTEST v4] " Ian Campbell
2015-11-24 15:26     ` Ian Campbell
2015-11-24 15:28       ` Ian Campbell
2015-11-24 15:36         ` Ian Campbell
2015-11-24 16:12           ` Ian Jackson

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=1448295574.4973.64.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.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.