WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] 3.0.3 freeze

To: <veillard@xxxxxxxxxx>
Subject: Re: [Xen-devel] 3.0.3 freeze
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 28 Aug 2006 17:32:01 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Delivery-date: Mon, 28 Aug 2006 09:41:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060828154901.GG16526@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbKv3zruzYaejayEduFWwANk04WTA==
Thread-topic: [Xen-devel] 3.0.3 freeze
User-agent: Microsoft-Entourage/11.2.5.060620
On 28/8/06 4:49 pm, "Daniel Veillard" <veillard@xxxxxxxxxx> 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
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.

>  +#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.

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).

> 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.

>   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.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel