All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Jan Beulich <JBeulich@suse.com>, Ian Campbell <ian.campbell@citrix.com>
Cc: Doug Goldstein <cardoe@cardoe.com>,
	xen-devel@lists.xen.org, Ian Jackson <Ian.Jackson@eu.citrix.com>,
	osstest-admin@xenproject.org,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [xen-unstable test] 77945: regressions - FAIL [and 2 more messages]
Date: Fri, 15 Jan 2016 17:24:00 +0000	[thread overview]
Message-ID: <56992B30.40500@citrix.com> (raw)
In-Reply-To: <5699374102000078000C782F@prv-mh.provo.novell.com>

On 15/01/16 17:15, Jan Beulich wrote:
>>>> On 15.01.16 at 18:06, <ian.campbell@citrix.com> wrote:
>> On Thu, 2016-01-14 at 16:27 +0000, Ian Jackson wrote:
>>>  * I don't have a clear design proposal for the above but I think Doug
>>>    can probably provide one.  I'm hoping this is more a matter of
>>>    thinking carefully than of extensive build system programming!
>> I think we should:
>>
>> 1) Move /usr/lib/debug/xen-4.7-unstable.config to /boot. I previously
>> didn't care about what path it was, but the usecase of having grub be able
>> to react to the config (see below) is a strong reason to have it in /boot
>> IMHO. Jan has said he won't veto such a change, AFAICT everyone else is
>> happy with it.
>>
>> 2) Assume that grub (specifically the patch in http://savannah.gnu.org/bugs 
>> /?43420 and as used by osstest today) will at some point be modified to
>> look at /boot/xenconfig-$version to decide whether to create an XSM entry
>> or not instead of the presence of /boot/xenpolicy-$version. This step
>> belongs here logically but chronologically could come much later since
>> osstest will do the right thing even if there is a spurious
>> /boot/xenpolicy-$version file (which is to say it will ignore the spurious
>> entry and boot the right thing).
>>
>> 3) Have tools/* always build the FLASK+XSM tools _and_ the FLASK policy and
>> to always install both. Any related configure options can go away and we no
>> longer need to worry about synchronising the configuration of the tools and
>> xen trees, this is desirable because we would prefer to have one set of
>> tools which gracefully handles differing hypervisor configurations over
>> needing different sets of tools (FLASK+XSM was one of the few exceptions to
>> that rule AFAICT).
>>
>> I think with this plan there is no need to modify osstest.git, since it
>> already does the right thing (which is, it sets XSM for Xen builds, which
>> in turn enables FLASK and it does nothing for tools/* which is correct once
>> #3 above has happened).
>>
>> The only downside is a spurious /boot/xenpolicy-$version installed when the
>> corresponding Xen binary doesn't support XSM, however given the assumption
>> in #2 (which implies the user will never see a spurious grub entry, which
>> is the important thing) and the fact that it avoids the complexity of
>> having tools/* rely in some way on xen/.config I think that is a worthwhile
>> trade-off.
>>
>> Hopefully this simplifies a bunch of the arguments we have been having and
>> provides a path forwards?
>>
>> Objections?
> My opinion on 1 and 2 is known; 3 seems like a good step to me.

FWIW, I also prefer option 3.  It lends itself better to a toolstack
which functions in the same way, irrespective of hypervisor configuration.

~Andrew

  reply	other threads:[~2016-01-15 17:24 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-13 19:30 [xen-unstable test] 77945: regressions - FAIL osstest service owner
2016-01-14  9:30 ` Jan Beulich
2016-01-14 11:42   ` Ian Campbell
2016-01-14 12:50     ` Jan Beulich
2016-01-14 13:57       ` Ian Campbell
2016-01-14 14:07         ` Doug Goldstein
2016-01-14 14:44           ` Ian Campbell
2016-01-14 14:54             ` Doug Goldstein
2016-01-14 14:48           ` Jan Beulich
2016-01-14 15:04             ` Doug Goldstein
2016-01-14 14:28         ` [OSSTEST PATCH] pass --{enable, disable}-xsmpolicy based on XSM state Doug Goldstein
2016-01-14 14:58           ` [OSSTEST PATCH] enable FLASK_ENABLE when using it for testing Doug Goldstein
2016-01-14 16:22             ` Ian Campbell
2016-01-14 16:34               ` Doug Goldstein
2016-01-14 16:27             ` [xen-unstable test] 77945: regressions - FAIL [and 2 more messages] Ian Jackson
2016-01-14 17:07               ` Doug Goldstein
2016-01-14 17:18                 ` Ian Jackson
2016-01-14 17:25                   ` Ian Campbell
2016-01-14 19:10                   ` Doug Goldstein
2016-01-15 16:06               ` Jan Beulich
2016-01-15 17:06               ` Ian Campbell
2016-01-15 17:10                 ` Ian Jackson
2016-01-15 17:15                 ` Jan Beulich
2016-01-15 17:24                   ` Andrew Cooper [this message]
2016-01-15 17:42                     ` Ian Campbell
2016-01-18  7:49                       ` Jan Beulich
2016-01-18  8:55                         ` Andrew Cooper
2016-01-18  9:41                         ` Ian Campbell
2016-01-18  9:47                           ` Jan Beulich
2016-01-18 11:22                             ` Ian Campbell
2016-01-18 11:28                               ` Ian Jackson
2016-01-18 11:36                                 ` Ian Campbell
2016-01-18 12:09                                   ` Ian Campbell
2016-01-15 17:21                 ` Doug Goldstein
2016-01-16 20:54             ` [OSSTEST PATCH] enable FLASK_ENABLE when using it for testing Doug Goldstein
2016-01-14 21:40           ` [OSSTEST PATCH] pass --{enable, disable}-xsmpolicy based on XSM state Doug Goldstein
2016-01-16 20:50           ` Doug Goldstein

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=56992B30.40500@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=cardoe@cardoe.com \
    --cc=ian.campbell@citrix.com \
    --cc=osstest-admin@xenproject.org \
    --cc=xen-devel@lists.xen.org \
    --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.