All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Veillard <veillard@redhat.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
	xen-devel@lists.xensource.com,
	"Daniel P. Berrange" <berrange@redhat.com>
Subject: Re: 3.0.3 freeze
Date: Mon, 28 Aug 2006 13:56:09 -0400	[thread overview]
Message-ID: <20060828175609.GH16526@redhat.com> (raw)
In-Reply-To: <C118D911.EC6%Keir.Fraser@cl.cam.ac.uk>

On Mon, Aug 28, 2006 at 05:32:01PM +0100, Keir Fraser wrote:
> On 28/8/06 4:49 pm, "Daniel Veillard" <veillard@redhat.com> wrote:
> 
> >> All bug fixing is going on in the unstable tree: there has been no fork. I'm
> >> now done with major refactorings (domctl/sysctl on Friday; shadow2->shadow
> >> today). I wanted those in before 3.0.3 because, although large, they are
> >> unlikely to break anything,
> > 
> >   Huh ? libvirt uses dom0 syscalls. And libvirt uses its own code to do it
> > since the existing libraries for dom0 calls are GPL'ed which would not be
> > compatible with libvirt own licencing (LGPL). The headers used by libvirt
> > are simply removed, the ioctl entry points are changed, etc ... You really
> > expected that to 'not break anything' ?
> 
> API/ABI compatibility is not guaranteed at the low-level control-plane
> interfaces: that is instead provided at the XML-RPC level (and, practically

  Seriously, which one ? The one about to be deprecated or the one which
doesn't exist yet ? There is in practice no API/ABI here, only the sxp 
of xend can be considered a stable ABI so far, but that's slated for removal.
Stable doesn't mean a 6 month time span for us, really.

> speaking, the libxenctrl/libxenguest interface is pretty stable too). By 'no
> breakage' I mean that the new interfaces work fine with a matching set of
> the supported libraries libxenctrl and libxenguest.

  Which I can't use due to Licence issues, they are still GPL if I'm not 
mistaken. And anyway they won't even work on 3.0.2 on x86_64 because the
HV ABI broke in the meantime.

> >  +#define XEN_DOMCTL_getdomaininfo     5
> > 
> >  +#define XEN_SYSCTL_getdomaininfolist 6
> > 
> > Can you explain why listing one domain info is a control operation (subject
> > to changes) and listing multiple domain info in a nearly identical way is a
> > system operation (and supposedly slightly more stable from now on).
> 
> Neither of the above interfaces (sysctl/domctl) has guaranteed ongoing API
> or ABI compatibility. The new platform_op interface, used by dom0 kernel, is
> the only new hypercall for which we will guarantee ongoing stability.

  Okay, that mean we will have to work around the changes for the foreseeable
future. You don't care about being stable there, we do, at least now I 
complained publicly about it. I have reason why I care for those, we explained
them. I don't know why you don't want to garantee anything at that level.
I know that non stable kernel interfaces can change, that's a fact of life,
but things can be handled gracefully and nicely, it's also possible to be
uncooperative on purpose, I hope it is not the case.

> The two commands you refer to are in different hypercalls because one is
> specific to a particular domain (hence domctl) while the other is a request
> for 'system-wide' info about all domains (hence sysctl).

  Okay

> > Was any HV call removed, or did they were all split between the 3 new sets ?
> 
> None were removed. They've simply been reassigned as sysctls or domctls to
> rationalise the API.

  Okay thanks, it's not easy to track down because that was dispatched on
multiple files now.

> >   The proper way in my opinion is to not break the hypercalls, if you need
> > changes in extensions and semantic, create new calls ! It is possible to
> > make graceful evolution of APIs, otherwise none of the software you are
> > using right now to read this mail would simply be possible.
> 
> We guarantee compatibility for *all* our other interfaces. The Xen
> management API is also being stabilised, but at the XML-RPC level.

  And the level of CPU consumption used just for monitoring was not
acceptable last we checked, only the hypercalls allowed decent
performances.

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

  parent reply	other threads:[~2006-08-28 17:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-22 16:03 3.0.3 freeze Ian Pratt
2006-08-22 16:34 ` Sean Dague
2006-08-22 21:00 ` Ryan Harper
2006-08-22 21:12   ` Subrahmanian, Raj
2006-08-25  0:53 ` Tuan Van
2006-08-28 14:58 ` Daniel P. Berrange
2006-08-28 15:08   ` Keir Fraser
2006-08-28 15:21     ` Daniel P. Berrange
2006-08-28 15:49     ` Daniel Veillard
2006-08-28 16:32       ` Keir Fraser
2006-08-28 16:47         ` Rik van Riel
2006-08-28 16:48           ` Keir Fraser
2006-08-28 17:12             ` Rik van Riel
2006-08-28 17:19               ` Keir Fraser
2006-08-28 17:56         ` Daniel Veillard [this message]
2006-09-12 11:06 ` Anthony Wright
2006-09-12 11:40   ` Ian Pratt
2006-09-12 12:55     ` Anthony Wright
2006-09-12 13:45       ` Matt Ayres
2006-09-12 22:00         ` John Lenz
2006-09-13  9:33           ` Nicholas Lee
2006-09-19 11:21     ` Anthony Wright
2006-09-19 12:56       ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2006-08-28 15:22 Ian Pratt
2006-08-28 16:48 Ian Pratt
2006-08-28 17:03 ` Daniel P. Berrange
2006-08-28 20:16 ` Daniel Veillard

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=20060828175609.GH16526@redhat.com \
    --to=veillard@redhat.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=berrange@redhat.com \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --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.