All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Murray <murrayie@yahoo.co.uk>
Cc: Alex Bligh <alex@alex.org.uk>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [Hackathon Minutes] Xen 4.4 Planning
Date: Fri, 14 Jun 2013 13:25:38 -0400	[thread overview]
Message-ID: <20130614172538.GE16636@phenom.dumpdata.com> (raw)
In-Reply-To: <1371203191.29262.YahooMailNeo@web171301.mail.ir2.yahoo.com>

On Fri, Jun 14, 2013 at 10:46:31AM +0100, Ian Murray wrote:
> 
> 
> 
> 
> ----- Original Message -----
> > From: Alex Bligh <alex@alex.org.uk>
> > To: Ian Murray <murrayie@yahoo.co.uk>; xen-devel@lists.xen.org
> > Cc: Alex Bligh <alex@alex.org.uk>
> > Sent: Friday, 14 June 2013, 8:01
> > Subject: Re: [Xen-devel] [Hackathon Minutes] Xen 4.4 Planning
> > 
> > Ian,
> > 
> > --On 14 June 2013 00:56:14 +0100 Ian Murray <murrayie@yahoo.co.uk> wrote:
> > 
> >>  When you talk about "stuff" breaking between major releases, are 
> > you
> >>  talking about Xen code not functioning or your code failing because of
> >>  changes in Xen? If the latter, are we talking designed changes in Xen's
> >>  behaviour or non-designed ones (=bugs)?
> > 
> > Both.
> > 
> > As an example of the first, the API changed very significantly between
> > 3.x and 4.1, and 4.1 and 4.2. Some of the API changes were subtle (e.g.
> > what you had to do across a fork()).
> 
> But surely, this is your business. This is what you do. Sounds like you want API changes to be held back for the entire community so your company has to do less work.

That is not true. I know what Alex is referring. I used to work
for VirtualIron and we had our own C based 'agent' that would interface
with libxc. Meaning we did not have 'xend', nor any 'xl'. Launching of
guests, etc was all done via our 'agent'.

What we had issues was that when compiling against a new hypervisor
API it all compiled, but launching guests was broken. What we found was
that some structures had changed and their corresponding XEN_VERSION_SOMETHING
changed as well. But it was not clear _which_ of the structures changed
so it took a while to figure out that the cpumap had been changed
(I think that is what it was). There was also some HVM parameter field
that had to be added otherwise the guest would not boot (can't remember
the details).

The XEN_VERSION_someting in the header doesn't really say - what
had changed. It is incremented to guard against this (so the call to
the hypervisor will error out with -ENOSYS if you don't use the
right version)- but worst it does not provide very much a backwards
compatible way of having a runtime work against Xen 4.1 vs Xen 4.3
(or Xen 3.4).

And now looking back at Xen 4.3 I have to admin that I did this as well
- so the xcinfo has an extra unsigned long in it expanding it.

I am not really sure how to solve that. The 'libxl' should provide a nice
isolation layer for this kind of stuff and guard the consumers
of the API with the #NEW_SOMETHING_FEATURE_ADDED defines.

  parent reply	other threads:[~2013-06-14 17:25 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-13 14:00 [Hackathon Minutes] Xen 4.4 Planning Lars Kurth
2013-06-13 14:22 ` Jan Beulich
2013-06-13 15:11   ` George Dunlap
2013-06-13 15:30     ` Jan Beulich
2013-06-13 15:39       ` Ian Campbell
2013-06-17  8:27         ` Fabio Fantoni
2013-06-17  9:52           ` Ian Campbell
2013-06-13 14:31 ` Ian Campbell
2013-06-13 14:52   ` George Dunlap
2013-06-13 15:06     ` Ian Campbell
2013-06-14 17:41   ` Konrad Rzeszutek Wilk
2013-06-13 14:43 ` George Dunlap
2013-06-13 17:09 ` Ben Guthro
2013-06-13 18:07   ` Pasi Kärkkäinen
2013-06-13 21:03 ` Alex Bligh
2013-06-13 23:56   ` Ian Murray
2013-06-14  7:01     ` Alex Bligh
2013-06-14  9:46       ` Ian Murray
2013-06-14 11:53         ` Alex Bligh
2013-06-14 12:32           ` Ian Murray
2013-06-14 12:49             ` Alex Bligh
2013-06-14 13:34               ` Ian Murray
2013-06-14 13:55                 ` Ian Campbell
2013-06-14 14:44                   ` Ian Murray
2013-06-14 14:55                     ` Gordan Bobic
2013-06-14 15:00                       ` George Dunlap
2013-06-14 15:09                     ` Ian Campbell
2013-06-14 15:43                   ` Alex Bligh
2013-06-14 21:05                     ` Ian Murray
2013-06-19 21:22                     ` Alex Bligh
2013-06-14 15:44                 ` Alex Bligh
2013-06-14 17:25         ` Konrad Rzeszutek Wilk [this message]
2013-06-14  8:15   ` Jan Beulich
2013-06-14  9:47     ` George Dunlap
2013-06-14  9:59     ` Lars Kurth
2013-06-14 10:45       ` Jan Beulich
2013-06-14 11:19         ` George Dunlap
2013-06-14 11:30         ` Gordan Bobic
2013-06-14 12:10       ` Sander Eikelenboom
2013-06-14 10:44   ` George Dunlap
  -- strict thread matches above, loose matches on Subject: below --
2013-06-14 11:46 Alex Bligh
2013-06-14 12:26 ` Jan Beulich
2013-06-14 12:45   ` Alex Bligh
2013-06-14 18:55 Alex Bligh

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=20130614172538.GE16636@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=alex@alex.org.uk \
    --cc=murrayie@yahoo.co.uk \
    --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.