From: "Jan Beulich" Subject: Re: [PATCH] libxl: do not expose libxenctrl/libxenstore headers via libxl.h Date: Thu, 07 Apr 2011 10:32:09 +0100 Message-ID: <4D9DA0B9020000780003A5CE@vpn.id2.novell.com> References: <3aecf852f357e9217144.1302103165@localhost.localdomain> <19868.35898.53337.358242@mariner.uk.xensource.com> <4D9D9263020000780003A58E@vpn.id2.novell.com> <1302166342.27835.22.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1302166342.27835.22.camel@zakaz.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org >>> On 07.04.11 at 10:52, Ian Campbell wrote: > On Thu, 2011-04-07 at 09:30 +0100, Jan Beulich wrote: >> >>> On 06.04.11 at 17:52, Ian Jackson = wrote: >> > Ian Campbell writes ("[Xen-devel] [PATCH] libxl: do not expose=20 >> > libxenctrl/libxenstore headers via libxl.h"): >> >> libxl: do not expose libxenctrl/libxenstore headers via libxl.h >> >>=20 >> >> This completely removes libxenstore from libxl users' view. >> >>=20 >> >> xl still needs libxenctrl directly due to the direct use of the >> >> xentoollog functionality but it is not exposed to the indirect = linkage >> >> anymore. >> >=20 >> > Applied. >> >=20 >> > Shame about the lack of API compatibility, but really the old was too >> > awful. >>=20 >> Shouldn't API incompatible changes lead to immediate bumping of >> the major version of the affected shared library? >=20 > I guess so. I must admit I thought we had the policy (however > ill-advised) of tying the SONAME to the Xen version, but I see that in > the case of libxenlight we do actually have an independent SONAME. >=20 > I wasn't sure which digit of the major number I was supposed to > increment so I went with the first... Perhaps a comment immediately > prior to the variable could describe the requirements? Indeed, since changing either is fine from a compatibility perspective here. I rather wonder why (other than most other shared libraries) we store two numbers into SONAME in the binary. Jan > Anyway: >=20 > libxl: bump SONAME after binary incompatible change. >=20 > Signed-off-by: Ian Campbell >=20 > diff -r 21db129fe3d8 tools/libxl/Makefile > --- a/tools/libxl/Makefile Thu Apr 07 09:35:15 2011 +0100 > +++ b/tools/libxl/Makefile Thu Apr 07 09:46:25 2011 +0100 > @@ -5,7 +5,7 @@ > XEN_ROOT =3D $(CURDIR)/../.. > include $(XEN_ROOT)/tools/Rules.mk > =20 > -MAJOR =3D 1.0 > +MAJOR =3D 2.0 > MINOR =3D 0 > =20 > XLUMAJOR =3D 1.0