All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC v2 0/3] tools: Allow building XenServer's blktap 2.5 as an external tree.
@ 2015-04-16 15:56 George Dunlap
  2015-04-16 15:56 ` [PATCH RFC v2 1/3] tools: Remove in-tree blktap2 George Dunlap
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: George Dunlap @ 2015-04-16 15:56 UTC (permalink / raw)
  To: xen-devel
  Cc: Wei Liu, Ian Campbell, Wen Congyang, George Dunlap,
	Jonathan Ludlam, Ian Jackson, Yang Hongyang, Dave Scott

For some time, the blktap2 in-tree has bitrotted.  Many years ago the
XenServer team at Citrix forked the code into a separate repository;
several attempts have been made to upstream those changes back into
Xen, to no avail.

The blktap code at the moment is the only source of performant vhd
format integration.  It's additionally in use by projects like the
COLO project.

This patch series removes the in-tree blktap2 code and enables xen to
detect and build against the XenServer blktap tree.  I've gotten
agreement from the XenServer team to act as an upstream -- to accept
patches fixing bugs, to help track down errors, and to attempt to help
fix build breakages introduced by development.

At the moment this patch is against the "blktap2" branch of
XenServer's blktap.git.  (This has been sometimes known as "blktap
2.5".)  This branch is maintianed in order to provide a buildroot for
OpenStack, and has also been used by the CentOS xen packages for
several years now.

The series consists of three patches:

1/3 Remove the blktap2 tree and temporarily disable it in config

2/3 Port libxl to use the upstream blktap2.

3/3 Detect blktap2 and enable it by default if detected.

The first patch is pretty massive and mostly not very interesting;
I'll be sending a modified patch with the interesting bits.  The full
patch series can be found here:

git://xenbits.xen.org/people/gdunlap/xen.git  out/blktap25/rfc-v2

This series has some niggles (noted in the patches themselves), and so
it not yet ready to apply as-is.

One of the big ones is that the blktap headers are borked: you can't
actually include them from where they get installed.  This is
something I'm going to try to address upstream.

 -George Dunlap

CC: Ian Campbell <ian.campbell@citrix.com>
CC: Ian Jackson <ian.jackson@citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Dave Scott <Dave.Scott@eu.citrix.com>
CC: Jonathan Ludlam <Jonathan.Ludlam@eu.citrix.com>
CC: Wen Congyang <wency@cn.fujitsu.com>
CC: Yang Hongyang <yanghy@cn.fujitsu.com>

George Dunlap (3):
  tools: Remove in-tree blktap2
  libxl: Port libxl_blktap2.c to blktap2.5 API.
  tools/configure: Detect out-of-tree blktap2 and use by default if
    available

 tools/Makefile                             |    1 -
 tools/Rules.mk                             |   10 +-
[tools/blktap2 tree removed]
 tools/config.h.in                          |    4 +-
 tools/configure                            | 2125 ++++++++++--------
 tools/configure.ac                         |   30 +-
 tools/libxl/libxl.c                        |    6 +-
 tools/libxl/libxl_blktap2.c                |   58 +-
 tools/libxl/libxl_dm.c                     |    3 +-
 tools/libxl/libxl_internal.h               |    3 +-
 135 files changed, 1221 insertions(+), 41148 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-04-16 16:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-16 15:56 [PATCH RFC v2 0/3] tools: Allow building XenServer's blktap 2.5 as an external tree George Dunlap
2015-04-16 15:56 ` [PATCH RFC v2 1/3] tools: Remove in-tree blktap2 George Dunlap
2015-04-16 16:45   ` Ian Jackson
2015-04-16 15:56 ` [PATCH RFC v2 2/3] libxl: Port libxl_blktap2.c to blktap2.5 API George Dunlap
2015-04-16 16:45   ` Ian Jackson
2015-04-16 15:56 ` [PATCH RFC v2 3/3] tools/configure: Detect out-of-tree blktap2 and use by default if available George Dunlap
2015-04-16 15:57 ` [PATCH RFC v2 0/3] tools: Allow building XenServer's blktap 2.5 as an external tree George Dunlap

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.