From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel@lists.xensource.com, JBeulich@suse.com
Subject: Re: Xen 4.1 + Linux compiled with PVH == BOOM
Date: Sat, 21 Dec 2013 11:17:55 -0500 [thread overview]
Message-ID: <20131221161754.GB13156@pegasus.dumpdata.com> (raw)
In-Reply-To: <1387624194.1025.70.camel@dagon.hellion.org.uk>
On Sat, Dec 21, 2013 at 11:09:54AM +0000, Ian Campbell wrote:
> On Fri, 2013-12-20 at 12:57 -0500, Konrad Rzeszutek Wilk wrote:
>
> > My thought was that we should return 0[...]
> > Like this:
> >
> > diff --git a/xen/common/libelf/libelf-dominfo.c b/xen/common/libelf/libelf-dominfo.c
> > index fda19e7..c9ff61e 100644
> > --- a/xen/common/libelf/libelf-dominfo.c
> > +++ b/xen/common/libelf/libelf-dominfo.c
> > @@ -83,7 +83,9 @@ elf_errorstatus elf_xen_parse_features(const char *features,
> > }
> > }
> > if ( i == elf_xen_features )
> > - return -1;
> > + return 0; /* We don't recognize this feature, and let the
> > + * caller figure out if it has all of the needed parts.
> > + */
>
> WRT the comment, if this code doesn't know about the feature then the
> caller is unlikely to know about it either, so silently ignoring it is
> more than likely completely fine.
<nods>
>
> [...]
> > 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. Ultimately perhaps we'd
> want to backport that patch too.
Ok, will crank out a patch after New Year.
Thanks!
>
> Ian.
>
next prev parent reply other threads:[~2013-12-21 16:17 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 [this message]
2013-12-23 9:37 ` Jan Beulich
2013-12-23 11:49 ` Jan Beulich
2013-12-24 1:56 ` Konrad Rzeszutek Wilk
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=20131221161754.GB13156@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.