All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: xen-devel@lists.xensource.com, Ian.Campbell@citrix.com
Subject: Re: Xen 4.1 + Linux compiled with PVH == BOOM
Date: Mon, 23 Dec 2013 20:56:50 -0500	[thread overview]
Message-ID: <20131224015650.GA2191@pegasus.dumpdata.com> (raw)
In-Reply-To: <52B8235D02000078000A9CB1@nat28.tlf.novell.com>

On Mon, Dec 23, 2013 at 11:49:49AM +0000, Jan Beulich wrote:
> >>> "Jan Beulich" <jbeulich@suse.com> 12/23/13 10:39 AM >>>
> >>>> Ian Campbell <Ian.Campbell@citrix.com> 12/21/13 12:10 PM >>>
> >>On Fri, 2013-12-20 at 12:57 -0500, Konrad Rzeszutek Wilk wrote:
> >>> But perhaps that is not the way to do it and we should just cherry-pick
> >>> 30832c06a8d1f9caff0987654ef9e24d59469d9a in Xen 4.1?
> >>
> >>I think we should do both, i.e. backport 30832c06a8d1 now to solve the
> >>immediate problem and then look at fixing unstable to be more accepting
> >>of new features which it doesn't yet know about.
> >
> >Hmm, not sure - without a split between necessary to be understood
> >and acceptable to be unknown ones, I'm not sure either model will be
> >the right thing.
> 
> And actually, in the case at hand the "BOOM" is correct: If the kernel tells
> the hypervisor that it needs a feature the hypervisor doesn't even recognize,
> it's surely wrong to ignore this. The mistake here is for the kernel to require

But it does not ignore it. It checks later on in construct_dom0 whether
the 'required' parameters are present, like:

if ( test_bit(XENFEAT_supervisor_mode_kernel, parms.f_required) )



> that feature statically in the first place - that should be done only if the kernel
> could _only_ boot in PVH mode.

The feature is not marked as "required" but rather - it can utilize said
extension (so supported). I am advocating that the calleer checks that
all of the required pieces are correct - and it can ignore the ones it
has no idea off (which it does for some of the Xen ELF notes - ignores
them if it has no idea of what they are).


> 
> Jan
> 

  reply	other threads:[~2013-12-24  1:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-20 17:57 Xen 4.1 + Linux compiled with PVH == BOOM Konrad Rzeszutek Wilk
2013-12-21  1:47 ` Mukesh Rathor
2013-12-21 11:09 ` Ian Campbell
2013-12-21 16:17   ` Konrad Rzeszutek Wilk
2013-12-23  9:37   ` Jan Beulich
2013-12-23 11:49     ` Jan Beulich
2013-12-24  1:56       ` Konrad Rzeszutek Wilk [this message]
2014-01-07  8:23         ` Jan Beulich
2014-01-07 11:31           ` Ian Campbell
2014-01-07 11:50             ` Jan Beulich
2014-01-07 13:39               ` Ian Campbell
2013-12-24 12:31 ` David Vrabel
2013-12-24 12:55   ` Andrew Cooper
2013-12-24 13:05     ` David Vrabel
2013-12-30 19:56       ` Konrad Rzeszutek Wilk
2014-01-02 19:30         ` Konrad Rzeszutek Wilk
2014-01-02 21:23           ` Konrad Rzeszutek Wilk
2014-01-03 12:40             ` Roger Pau Monné
2014-01-03 14:35               ` Konrad Rzeszutek Wilk
2014-01-03  0:27         ` Mukesh Rathor
2014-01-06 11:01           ` Ian Campbell

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=20131224015650.GA2191@pegasus.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=xen-devel@lists.xensource.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 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.