From: Ian Campbell Subject: Re: [PATCH for xen-4.4] libxl: add option for discard support to xl disk configuration Date: Thu, 30 Jan 2014 16:31:45 +0000 Message-ID: <1391099505.9495.23.camel@kazak.uk.xensource.com> References: <1391083364-29483-1-git-send-email-olaf@aepfle.de> <20140130162558.GA9033@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140130162558.GA9033@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: anthony.perard@citrix.com, George Dunlap , stefano.stabellini@eu.citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-01-30 at 17:25 +0100, Olaf Hering wrote: > And just for reference, this is a version for our 4.4: > > .... > > This change does not break ABI. Instead of adding a new member ->discard_enable > to struct libxl_device_disk the existing ->readwrite member is reused. Looks like it changes the libxlu ABI though. Or maybe that's totally internal? TBH -- if you (==suse I guess?) are contemplating carrying this as a backport even before 4.4 is out the door we should probably be at least considering a freeze exception for 4.4. George CCd for input. (I appreciate that "backport=>freeze exception" is a potentially slippery slope/ripe for abuse...) > Signed-off-by: Olaf Hering > --- > docs/misc/xl-disk-configuration.txt | 15 +++++++++++++++ > tools/libxl/libxl.c | 2 ++ > tools/libxl/libxl.h | 11 +++++++++++ > tools/libxl/libxlu_disk.c | 3 +++ > tools/libxl/libxlu_disk_i.h | 2 +- > tools/libxl/libxlu_disk_l.l | 4 ++++ > 6 files changed, 36 insertions(+), 1 deletion(-) > > diff --git a/docs/misc/xl-disk-configuration.txt b/docs/misc/xl-disk-configuration.txt > index 5bd456d..c9fd9bd 100644 > --- a/docs/misc/xl-disk-configuration.txt > +++ b/docs/misc/xl-disk-configuration.txt > @@ -178,6 +178,21 @@ information to be interpreted by the executable program