xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@novell.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [PATCH] libxl: do not expose libxenctrl/libxenstore headers via libxl.h
Date: Thu, 07 Apr 2011 10:32:09 +0100	[thread overview]
Message-ID: <4D9DA0B9020000780003A5CE@vpn.id2.novell.com> (raw)
In-Reply-To: <1302166342.27835.22.camel@zakaz.uk.xensource.com>

>>> On 07.04.11 at 10:52, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> On Thu, 2011-04-07 at 09:30 +0100, Jan Beulich wrote:
>> >>> On 06.04.11 at 17:52, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
>> > Ian Campbell writes ("[Xen-devel] [PATCH] libxl: do not expose 
>> > libxenctrl/libxenstore headers via libxl.h"):
>> >> libxl: do not expose libxenctrl/libxenstore headers via libxl.h
>> >> 
>> >> This completely removes libxenstore from libxl users' view.
>> >> 
>> >> xl still needs libxenctrl directly due to the direct use of the
>> >> xentoollog functionality but it is not exposed to the indirect linkage
>> >> anymore.
>> > 
>> > Applied.
>> > 
>> > Shame about the lack of API compatibility, but really the old was too
>> > awful.
>> 
>> Shouldn't API incompatible changes lead to immediate bumping of
>> the major version of the affected shared library?
> 
> 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.
> 
> 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:
> 
> libxl: bump SONAME after binary incompatible change.
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> 
> 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 = $(CURDIR)/../..
>  include $(XEN_ROOT)/tools/Rules.mk
>  
> -MAJOR = 1.0
> +MAJOR = 2.0
>  MINOR = 0
>  
>  XLUMAJOR = 1.0

  reply	other threads:[~2011-04-07  9:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-06 15:19 [PATCH] libxl: do not expose libxenctrl/libxenstore headers via libxl.h Ian Campbell
2011-04-06 15:52 ` Ian Jackson
2011-04-07  8:30   ` Jan Beulich
2011-04-07  8:52     ` Ian Campbell
2011-04-07  9:32       ` Jan Beulich [this message]
2011-04-07  9:58       ` Ian Jackson
2011-04-07 10:23         ` Stefano Stabellini
2011-04-08 15:17           ` Ian Jackson
2011-04-13  4:07           ` Jim Fehlig
2011-04-13 10:06             ` libxl API changes for 4.2 (Was: Re: [PATCH] libxl: do not expose libxenctrl/libxenstore headers via libxl.h) Ian Campbell
2011-04-13 10:12               ` Christoph Egger
2011-04-13 11:00                 ` Ian Campbell
2011-04-13 11:04                   ` Ian Jackson
2011-04-13 11:03               ` Ian Jackson
2011-04-14 17:41               ` Jim Fehlig
2011-04-15  8:24                 ` 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=4D9DA0B9020000780003A5CE@vpn.id2.novell.com \
    --to=jbeulich@novell.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).