All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Use system blktap
@ 2015-07-06 10:51 George Dunlap
  2015-07-06 10:51 ` [PATCH 1/6] libxl: Make local_initiate_attach more rational George Dunlap
                   ` (7 more replies)
  0 siblings, 8 replies; 45+ messages in thread
From: George Dunlap @ 2015-07-06 10:51 UTC (permalink / raw)
  To: xen-devel
  Cc: Wei Liu, Felipe Franciosi, Ian Campbell, George Dunlap,
	Jonathan Ludlam, Dave Scott, Ian Jackson, Roger Pau Monne

Switch to using a blktap provided by the system, rather than building
it in-tree.

Do this by adding a block-tap script which calls the tap-ctl binary,
rather than linking against a library.

This requires the use of an externally-built tap-ctl binary, which an
be built from the master branch of the XenServer blktap tree at
https://github.com/xapi-project/blktap.git

The first two patches and the final patch are general libxl disk
handling improvements which can be applied independently of the core.

The third patch (tools: Add a block-tap script for setting up tapdisks
via tap-ctl) can also be checked in independently from the fourth and
fifth, as it allows someone to disable blktap support in configure but
still use externally-built tap-ctl binaries (albeit with a different
disk string).

The fifth patch is a straight rm -rf of toosl/blktap2.  Rather than
spam everyone's mailboxes I've clipped the message here, and provided
a tree which can be pulled from:

git://xenbits.xen.org/people/gdunlap/xen.git out/blktap-system/v1

This series also exposes blktap to a bug that prevents HVM guests from
using disks created with block scripts.  This should be a blocker for
the 4.6 release, so I think we should consider checking this series in
as is, assuming that bug will be addressed before the release.

George Dunlap (6): 
  libxl: Make local_initiate_attach more rational
  libxl: Remove linux udev rules
  tools: Add a block-tap script for setting up tapdisks via tap-ctl
  libxl: Use the block-tap script for LIBXL_DISK_BACKEND_TAP
  tools: Remove in-tree blktap2
  libxl: Add more logging to hotplug script path

 tools/Makefile                               |    1 -
 [tools/blktap2/* removal trimmed]
 tools/config.h.in                            |    3 -
 tools/configure                              |   29 +-
 tools/configure.ac                           |   13 +-
 tools/examples/README                        |    1 -
 tools/hotplug/Linux/Makefile                 |   15 +-
 tools/hotplug/Linux/block-tap                |  123 +
 tools/hotplug/Linux/xen-backend.rules.in     |   13 -
 tools/hotplug/Linux/xen-hotplug-common.sh.in |    7 -
 tools/libxl/Makefile                         |    5 -
 tools/libxl/libxl.c                          |  139 +-
 tools/libxl/libxl_blktap2.c                  |   93 -
 tools/libxl/libxl_create.c                   |   27 -
 tools/libxl/libxl_device.c                   |   34 +-
 tools/libxl/libxl_dm.c                       |    5 +-
 tools/libxl/libxl_internal.c                 |   19 -
 tools/libxl/libxl_internal.h                 |   27 -
 tools/libxl/libxl_linux.c                    |   12 +-
 tools/libxl/libxl_netbsd.c                   |    7 -
 tools/libxl/libxl_noblktap2.c                |   42 -
 146 files changed, 194 insertions(+), 40550 deletions(-)
 [delete mode 100644 tools/blktap2/* trimmed]

-- 
CC: Ian Campbell <ian.campbell@citrix.com>
CC: Ian Jackson <ian.jackson@citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Roger Pau Monne <roger.pau@citrix.com>
CC: Felipe Franciosi <felipe.franciosi@citrix.com>
CC: Dave Scott <Dave.Scott@eu.citrix.com>
CC: Jonathan Ludlam <Jonathan.Ludlam@eu.citrix.com>

1.9.1

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

end of thread, other threads:[~2015-07-23 12:30 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-06 10:51 [PATCH 0/6] Use system blktap George Dunlap
2015-07-06 10:51 ` [PATCH 1/6] libxl: Make local_initiate_attach more rational George Dunlap
2015-07-06 10:51 ` [PATCH 2/6] libxl: Remove linux udev rules George Dunlap
2015-07-07 11:39   ` Wei Liu
2015-07-14 16:13     ` Konrad Rzeszutek Wilk
2015-07-14 16:21       ` Ian Campbell
2015-07-14 16:35         ` George Dunlap
2015-07-14 16:40           ` Wei Liu
2015-07-14 16:48             ` Ian Campbell
2015-07-23 11:55               ` Roger Pau Monné
2015-07-23 12:30                 ` Ian Campbell
2015-07-15 11:07         ` [PATCH for-4.6] tools/hotplug: Add an initscript to start "xl devd" in a driver domain Ian Campbell
2015-07-15 13:26           ` Wei Liu
2015-07-15 13:40             ` Ian Campbell
2015-07-15 15:25           ` George Dunlap
2015-07-15 15:32           ` Ian Jackson
2015-07-15 15:35             ` George Dunlap
2015-07-15 15:37               ` Ian Campbell
2015-07-16 16:58         ` [PATCH for-4.6 v2] " Ian Campbell
2015-07-16 17:09           ` Ian Jackson
2015-07-16 17:48           ` Wei Liu
2015-07-17  9:05           ` Wei Liu
2015-07-17 11:36             ` Ian Campbell
2015-07-20 14:16           ` Roger Pau Monné
2015-07-20 14:28             ` Ian Campbell
2015-07-06 10:51 ` [PATCH 3/6] tools: Add a block-tap script for setting up tapdisks via tap-ctl George Dunlap
2015-07-07 12:03   ` Wei Liu
2015-07-07 12:35     ` Wei Liu
2015-07-06 10:51 ` [PATCH 4/6] libxl: Use the block-tap script for LIBXL_DISK_BACKEND_TAP George Dunlap
2015-07-06 11:01   ` Andrew Cooper
2015-07-06 12:39     ` George Dunlap
2015-07-07 12:29   ` Wei Liu
2015-07-07 13:41     ` George Dunlap
2015-07-07 14:20       ` Ian Campbell
2015-07-07 14:27         ` George Dunlap
2015-07-06 10:51 ` [PATCH 5/6] tools: Remove in-tree blktap2 George Dunlap
2015-07-07 11:55   ` Wei Liu
2015-07-06 10:51 ` [PATCH 6/6] libxl: Add more logging to hotplug script path George Dunlap
2015-07-07 11:55   ` Wei Liu
2015-07-07 14:21 ` [PATCH 0/6] Use system blktap Ian Campbell
2015-07-07 14:24   ` George Dunlap
2015-07-07 14:52     ` Ian Campbell
2015-07-07 14:59       ` George Dunlap
2015-07-07 15:04         ` Ian Campbell
2015-07-07 15:20 ` Ian Campbell

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.