Skip to contentSkip to conversation

tools: remove blktap1

PATCH Superseded Ian Campbell 6 participants 12 messages Nov 4, 2014 – Nov 12, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: remove blktap1

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

---
 .gitignore                               |    5 -
 .hgignore                                |    5 -
 INSTALL                                  |    1 -
 config/Tools.mk.in                       |    1 -
 tools/Makefile                           |    2 +-
 tools/blktap/Makefile                    |   13 -
 tools/blktap/README                      |  122 --
 tools/blktap/drivers/Makefile            |   73 --
 tools/blktap/drivers/aes.c               | 1319 -------------------
 tools/blktap/drivers/aes.h               |   28 -
 tools/blktap/drivers/blk.h               |    3 -
 tools/blktap/drivers/blk_linux.c         |   42 -
 tools/blktap/drivers/blktapctrl.c        |  937 -------------
 tools/blktap/drivers/blktapctrl.h        |   36 -
 tools/blktap/drivers/blktapctrl_linux.c  |   89 --
 tools/blktap/drivers/block-aio.c         |  259 ----
 tools/blktap/drivers/block-qcow.c        | 1434 --------------------
 tools/blktap/drivers/block-qcow2.c       | 2098 ------------------------------
 tools/blktap/drivers/block-ram.c         |  295 -----
 tools/blktap/drivers/block-sync.c        |  242 ----
 tools/blktap/drivers/block-vmdk.c        |  428 ------
 tools/blktap/drivers/bswap.h             |  178 ---
 tools/blktap/drivers/img2qcow.c          |  282 ----
 tools/blktap/drivers/qcow-create.c       |  130 --
 tools/blktap/drivers/qcow2raw.c          |  348 -----
 tools/blktap/drivers/tapaio.c            |  357 -----
 tools/blktap/drivers/tapaio.h            |  108 --
 tools/blktap/drivers/tapdisk.c           |  872 -------------
 tools/blktap/drivers/tapdisk.h           |  259 ----
 tools/blktap/lib/Makefile                |   60 -
 tools/blktap/lib/blkif.c                 |  185 ---
 tools/blktap/lib/blktaplib.h             |  240 ----
 tools/blktap/lib/list.h                  |   59 -
 tools/blktap/lib/xenbus.c                |  617 ---------
 tools/blktap/lib/xs_api.c                |  360 -----
 tools/blktap/lib/xs_api.h                |   50 -
 tools/configure                          |   29 +-
 tools/configure.ac                       |    4 +-
 tools/hotplug/Linux/Makefile             |    1 -
 tools/hotplug/Linux/blktap               |   94 --
 tools/hotplug/Linux/xen-backend.rules.in |    2 -
 41 files changed, 3 insertions(+), 11664 deletions(-)
 delete mode 100644 tools/blktap/Makefile
 delete mode 100644 tools/blktap/README
 delete mode 100644 tools/blktap/drivers/Makefile
 delete mode 100644 tools/blktap/drivers/aes.c
 delete mode 100644 tools/blktap/drivers/aes.h
 delete mode 100644 tools/blktap/drivers/blk.h
 delete mode 100644 tools/blktap/drivers/blk_linux.c
 delete mode 100644 tools/blktap/drivers/blktapctrl.c
 delete mode 100644 tools/blktap/drivers/blktapctrl.h
 delete mode 100644 tools/blktap/drivers/blktapctrl_linux.c
 delete mode 100644 tools/blktap/drivers/block-aio.c
 delete mode 100644 tools/blktap/drivers/block-qcow.c
 delete mode 100644 tools/blktap/drivers/block-qcow2.c
 delete mode 100644 tools/blktap/drivers/block-ram.c
 delete mode 100644 tools/blktap/drivers/block-sync.c
 delete mode 100644 tools/blktap/drivers/block-vmdk.c
 delete mode 100644 tools/blktap/drivers/bswap.h
 delete mode 100644 tools/blktap/drivers/img2qcow.c
 delete mode 100644 tools/blktap/drivers/qcow-create.c
 delete mode 100644 tools/blktap/drivers/qcow2raw.c
 delete mode 100644 tools/blktap/drivers/tapaio.c
 delete mode 100644 tools/blktap/drivers/tapaio.h
 delete mode 100644 tools/blktap/drivers/tapdisk.c
 delete mode 100644 tools/blktap/drivers/tapdisk.h
 delete mode 100644 tools/blktap/lib/Makefile
 delete mode 100644 tools/blktap/lib/blkif.c
 delete mode 100644 tools/blktap/lib/blktaplib.h
 delete mode 100644 tools/blktap/lib/list.h
 delete mode 100644 tools/blktap/lib/xenbus.c
 delete mode 100644 tools/blktap/lib/xs_api.c
 delete mode 100644 tools/blktap/lib/xs_api.h
 delete mode 100644 tools/hotplug/Linux/blktap
.gitignore +0 -5
index b24e905..6830a06 100644
@@ -101,11 +101,6 @@ tools/blktap2/drivers/tapdisk2
 tools/blktap2/drivers/td-util
 tools/blktap2/vhd/vhd-update
 tools/blktap2/vhd/vhd-util
-tools/blktap/drivers/blktapctrl
-tools/blktap/drivers/img2qcow
-tools/blktap/drivers/qcow-create
-tools/blktap/drivers/qcow2raw
-tools/blktap/drivers/tapdisk
 tools/console/xenconsole
 tools/console/xenconsoled
 tools/debugger/gdb/gdb-6.2.1-linux-i386-xen/*
.hgignore +0 -5
index da27f80..0bd29a1 100644
@@ -140,11 +140,6 @@
 ^tools/blktap2/drivers/td-util$
 ^tools/blktap2/vhd/vhd-update$
 ^tools/blktap2/vhd/vhd-util$
-^tools/blktap/drivers/blktapctrl$
-^tools/blktap/drivers/img2qcow$
-^tools/blktap/drivers/qcow-create$
-^tools/blktap/drivers/qcow2raw$
-^tools/blktap/drivers/tapdisk$
 ^tools/check/\..*$
 ^tools/console/xenconsole$
 ^tools/console/xenconsoled$
INSTALL +0 -1
index 6bb9d23..f0fc6f1 100644
@@ -149,7 +149,6 @@ this detection and the sysv runlevel scripts have to be used.
 
 The old backend drivers are disabled because qdisk is now the default.
 This option can be used to build them anyway.
-  --enable-blktap1
   --enable-blktap2
 
 Build various stubom components, some are only example code. Its usually
config/Tools.mk.in +0 -1
index 89de5bd..30267fa 100644
@@ -57,7 +57,6 @@ CONFIG_ROMBIOS      := @rombios@
 CONFIG_SEABIOS      := @seabios@
 CONFIG_QEMU_TRAD    := @qemu_traditional@
 CONFIG_QEMU_XEN     := @qemu_xen@
-CONFIG_BLKTAP1      := @blktap1@
 CONFIG_BLKTAP2      := @blktap2@
 CONFIG_QEMUU_EXTRA_ARGS:= @EXTRA_QEMUU_CONFIGURE_ARGS@
 CONFIG_REMUS_NETBUF := @remus_netbuf@
tools/Makefile +1 -1
index af9798a..1ad7a5d 100644
@@ -16,7 +16,6 @@ SUBDIRS-y += console
 SUBDIRS-y += xenmon
 SUBDIRS-y += xenstat
 SUBDIRS-$(CONFIG_Linux) += memshr 
-SUBDIRS-$(CONFIG_BLKTAP1) += blktap
 SUBDIRS-$(CONFIG_BLKTAP2) += blktap2
 SUBDIRS-$(CONFIG_NetBSD) += xenbackendd
 SUBDIRS-y += libfsimage
@@ -169,6 +168,7 @@ subdir-all-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find
 subdir-install-qemu-xen-traditional-dir: qemu-xen-traditional-dir-find
 	set -e; \
 		$(buildmakevars2shellvars); \
+		export CONFIG_BLKTAP1=n; \
 		cd qemu-xen-traditional-dir; \
 		$(QEMU_ROOT)/xen-setup \
 		--extra-cflags="$(EXTRA_CFLAGS_QEMU_TRADITIONAL)" \
tools/blktap/Makefile deleted +0 -13
deleted file mode 100644
index 4020566..0000000
@@ -1,13 +0,0 @@
-XEN_ROOT = $(CURDIR)/../..
-include $(XEN_ROOT)/tools/Rules.mk
-
-SUBDIRS-y :=
-SUBDIRS-y += lib
-SUBDIRS-y += drivers
-
-.PHONY: all clean install
-all clean install: %: subdirs-%
-
-install:
-	$(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
-	$(INSTALL_DATA) README $(DESTDIR)$(DOCDIR)/README.blktap
tools/blktap/README deleted +0 -122

122 lines not on this page · raw message

tools/blktap/drivers/Makefile deleted +0 -73

73 lines not on this page · raw message

tools/blktap/drivers/aes.c deleted +0 -1319

1,319 lines not on this page · raw message

tools/blktap/drivers/aes.h deleted +0 -28
deleted file mode 100644
index 9fb54a9..0000000
@@ -1,28 +0,0 @@
-#ifndef QEMU_AES_H
-#define QEMU_AES_H
-
-#include <stdint.h>
-
-#define AES_MAXNR 14
-#define AES_BLOCK_SIZE 16
-
-struct aes_key_st {
-    uint32_t rd_key[4 *(AES_MAXNR + 1)];
-    int rounds;
-};
-typedef struct aes_key_st AES_KEY;
-
-int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
-	AES_KEY *key);
-int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
-	AES_KEY *key);
-
-void AES_encrypt(const unsigned char *in, unsigned char *out,
-	const AES_KEY *key);
-void AES_decrypt(const unsigned char *in, unsigned char *out,
-	const AES_KEY *key);
-void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
-		     const unsigned long length, const AES_KEY *key,
-		     unsigned char *ivec, const int enc);
-
-#endif
tools/blktap/drivers/blk.h deleted +0 -3
deleted file mode 100644
index 1cdc980..0000000
@@ -1,3 +0,0 @@
-
-int blk_getimagesize(int fd, uint64_t *size);
-int blk_getsectorsize(int fd, uint64_t *sector_size);
tools/blktap/drivers/blk_linux.c deleted +0 -42

42 lines not on this page · raw message

tools/blktap/drivers/blktapctrl.c deleted +0 -937

937 lines not on this page · raw message

tools/blktap/drivers/blktapctrl.h deleted +0 -36
deleted file mode 100644
index 4512807..0000000
@@ -1,36 +0,0 @@
-/* blktapctrl.h
- *
- * controller image utils.
- * 
- * (c) 2004-6 Andrew Warfield and Julian Chesterfield
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation; or, when distributed
- * separately from the Linux kernel or incorporated into other
- * software packages, subject to the following license:
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this source file (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy, modify,
- * merge, publish, distribute, sublicense, and/or sell copies of the Software,
- * and to permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- */
-
-
-int blktap_interface_open(void);
-
-int blktap_interface_create(int ctlfd, int *major, int *minor, blkif_t *blkif);
-
tools/blktap/drivers/blktapctrl_linux.c deleted +0 -89

89 lines not on this page · raw message

tools/blktap/drivers/block-aio.c deleted +0 -259

259 lines not on this page · raw message

tools/blktap/drivers/block-qcow.c deleted +0 -1434

29 lines not on this page · raw message

tools/blktap/drivers/block-qcow2.c deleted +0 -2098

2,098 lines not on this page · raw message

tools/blktap/drivers/block-ram.c deleted +0 -295

295 lines not on this page · raw message

tools/blktap/drivers/block-sync.c deleted +0 -242

242 lines not on this page · raw message

tools/blktap/drivers/block-vmdk.c deleted +0 -428

428 lines not on this page · raw message

tools/blktap/drivers/bswap.h deleted +0 -178

178 lines not on this page · raw message

tools/blktap/drivers/img2qcow.c deleted +0 -282

282 lines not on this page · raw message

tools/blktap/drivers/qcow-create.c deleted +0 -130

130 lines not on this page · raw message

tools/blktap/drivers/qcow2raw.c deleted +0 -348

348 lines not on this page · raw message

tools/blktap/drivers/tapaio.c deleted +0 -357

357 lines not on this page · raw message

tools/blktap/drivers/tapaio.h deleted +0 -108

108 lines not on this page · raw message

tools/blktap/drivers/tapdisk.c deleted +0 -872

872 lines not on this page · raw message

tools/blktap/drivers/tapdisk.h deleted +0 -259

259 lines not on this page · raw message

tools/blktap/lib/Makefile deleted +0 -60

60 lines not on this page · raw message

tools/blktap/lib/blkif.c deleted +0 -185

185 lines not on this page · raw message

tools/blktap/lib/blktaplib.h deleted +0 -240

240 lines not on this page · raw message

tools/blktap/lib/list.h deleted +0 -59

59 lines not on this page · raw message

tools/blktap/lib/xenbus.c deleted +0 -617

617 lines not on this page · raw message

tools/blktap/lib/xs_api.c deleted +0 -360

360 lines not on this page · raw message

tools/blktap/lib/xs_api.h deleted +0 -50

50 lines not on this page · raw message

tools/configure +1 -28
index c65ad3a..b1261a1 100755

Lines of this file are not shown. View the raw message.

tools/configure.ac +1 -3
index 1ac63a3..72e2465 100644

Lines of this file are not shown. View the raw message.

tools/hotplug/Linux/Makefile +0 -1
index 1706c05..b8490f9 100644

Lines of this file are not shown. View the raw message.

tools/hotplug/Linux/blktap deleted +0 -94

94 lines not on this page · raw message

tools/hotplug/Linux/xen-backend.rules.in +0 -2
index 7d2f914..ee107af 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.10.4

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 8 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

I suspect this might be too large for the list so it also at
git://xenbits.xen.org/people/ianc/xen.git remove-blktap1

I've trimmed everything but the diffstat from below.

Quoted 78 lines

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

---
 .gitignore                               |    5 -
 .hgignore                                |    5 -
 INSTALL                                  |    1 -
 config/Tools.mk.in                       |    1 -
 tools/Makefile                           |    2 +-
 tools/blktap/Makefile                    |   13 -
 tools/blktap/README                      |  122 --
 tools/blktap/drivers/Makefile            |   73 --
 tools/blktap/drivers/aes.c               | 1319 -------------------
 tools/blktap/drivers/aes.h               |   28 -
 tools/blktap/drivers/blk.h               |    3 -
 tools/blktap/drivers/blk_linux.c         |   42 -
 tools/blktap/drivers/blktapctrl.c        |  937 -------------
 tools/blktap/drivers/blktapctrl.h        |   36 -
 tools/blktap/drivers/blktapctrl_linux.c  |   89 --
 tools/blktap/drivers/block-aio.c         |  259 ----
 tools/blktap/drivers/block-qcow.c        | 1434 --------------------
 tools/blktap/drivers/block-qcow2.c       | 2098 ------------------------------
 tools/blktap/drivers/block-ram.c         |  295 -----
 tools/blktap/drivers/block-sync.c        |  242 ----
 tools/blktap/drivers/block-vmdk.c        |  428 ------
 tools/blktap/drivers/bswap.h             |  178 ---
 tools/blktap/drivers/img2qcow.c          |  282 ----
 tools/blktap/drivers/qcow-create.c       |  130 --
 tools/blktap/drivers/qcow2raw.c          |  348 -----
 tools/blktap/drivers/tapaio.c            |  357 -----
 tools/blktap/drivers/tapaio.h            |  108 --
 tools/blktap/drivers/tapdisk.c           |  872 -------------
 tools/blktap/drivers/tapdisk.h           |  259 ----
 tools/blktap/lib/Makefile                |   60 -
 tools/blktap/lib/blkif.c                 |  185 ---
 tools/blktap/lib/blktaplib.h             |  240 ----
 tools/blktap/lib/list.h                  |   59 -
 tools/blktap/lib/xenbus.c                |  617 ---------
 tools/blktap/lib/xs_api.c                |  360 -----
 tools/blktap/lib/xs_api.h                |   50 -
 tools/configure                          |   29 +-
 tools/configure.ac                       |    4 +-
 tools/hotplug/Linux/Makefile             |    1 -
 tools/hotplug/Linux/blktap               |   94 --
 tools/hotplug/Linux/xen-backend.rules.in |    2 -
 41 files changed, 3 insertions(+), 11664 deletions(-)
 delete mode 100644 tools/blktap/Makefile
 delete mode 100644 tools/blktap/README
 delete mode 100644 tools/blktap/drivers/Makefile
 delete mode 100644 tools/blktap/drivers/aes.c
 delete mode 100644 tools/blktap/drivers/aes.h
 delete mode 100644 tools/blktap/drivers/blk.h
 delete mode 100644 tools/blktap/drivers/blk_linux.c
 delete mode 100644 tools/blktap/drivers/blktapctrl.c
 delete mode 100644 tools/blktap/drivers/blktapctrl.h
 delete mode 100644 tools/blktap/drivers/blktapctrl_linux.c
 delete mode 100644 tools/blktap/drivers/block-aio.c
 delete mode 100644 tools/blktap/drivers/block-qcow.c
 delete mode 100644 tools/blktap/drivers/block-qcow2.c
 delete mode 100644 tools/blktap/drivers/block-ram.c
 delete mode 100644 tools/blktap/drivers/block-sync.c
 delete mode 100644 tools/blktap/drivers/block-vmdk.c
 delete mode 100644 tools/blktap/drivers/bswap.h
 delete mode 100644 tools/blktap/drivers/img2qcow.c
 delete mode 100644 tools/blktap/drivers/qcow-create.c
 delete mode 100644 tools/blktap/drivers/qcow2raw.c
 delete mode 100644 tools/blktap/drivers/tapaio.c
 delete mode 100644 tools/blktap/drivers/tapaio.h
 delete mode 100644 tools/blktap/drivers/tapdisk.c
 delete mode 100644 tools/blktap/drivers/tapdisk.h
 delete mode 100644 tools/blktap/lib/Makefile
 delete mode 100644 tools/blktap/lib/blkif.c
 delete mode 100644 tools/blktap/lib/blktaplib.h
 delete mode 100644 tools/blktap/lib/list.h
 delete mode 100644 tools/blktap/lib/xenbus.c
 delete mode 100644 tools/blktap/lib/xs_api.c
 delete mode 100644 tools/blktap/lib/xs_api.h
 delete mode 100644 tools/hotplug/Linux/blktap
#2 lore raw
In reply to Ian Campbell
Quoted 5 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

It's too hard to find the changes to the common files in this diff. It would be better to split this into two patches: remove blktap from build; and delete blktap directory.

David

#3 lore raw
In reply to Ian Campbell
Quoted 2 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

What about XenServer?

And isn't there some blktap3 ?

Quoted 9 lines

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

You really want to be at the top of the commit list with the most deleted code, eh?

#4 lore raw
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

What about XenServer?

We are most definitely not using it, and haven’t used it in a very long time. We explicitly nuke BLKTAP1 and BLKTAP2 from the Xen build.

Quoted 2 lines

And isn't there some blktap3 ?

https://github.com/xapi-project/blktap

Quoted 11 lines
Quoted 9 lines

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

You really want to be at the top of the commit list with the most deleted code, eh?

/me suspects that he is already, but I for one am a fan of pruning dead code.

~Andrew

#5 lore raw

Is: Discussion about doing it in Xen 4.5 or Xen 4.6 Was:Re: [PATCH] tools: remove blktap1

Quoted 23 lines · Andrew Cooper
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

What about XenServer?

We are most definitely not using it, and haven’t used it in a very long time. We explicitly nuke BLKTAP1 and BLKTAP2 from the Xen build.

Quoted 2 lines

And isn't there some blktap3 ?

https://github.com/xapi-project/blktap

Quoted 9 lines
Quoted 9 lines

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

Quoted 5 lines
Quoted 2 lines

You really want to be at the top of the commit list with the most deleted code, eh?

/me suspects that he is already, but I for one am a fan of pruning dead code.

True, but we did talk about xend removal for quite a while before doing it.

However, I believe that the folks that did Remus look to be using it (And they have tons of patches against it).

It is unclear to me whether they:
- want to be the maintainers of it?
- want to use blktap3 but haven't yet backported their patches.

Quoted 3 lines

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw

Re: Is: Discussion about doing it in Xen 4.5 or Xen 4.6 Was:Re: [PATCH] tools: remove blktap1

Quoted 26 lines · Konrad Rzeszutek Wilk
Quoted 19 lines · Andrew Cooper
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

What about XenServer?

We are most definitely not using it, and haven’t used it in a very long time. We explicitly nuke BLKTAP1 and BLKTAP2 from the Xen build.

Quoted 1 line

And isn't there some blktap3 ?

https://github.com/xapi-project/blktap

Quoted 8 lines
Quoted 8 lines

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

Quoted 4 lines
Quoted 2 lines

You really want to be at the top of the commit list with the most deleted code, eh?

/me suspects that he is already, but I for one am a fan of pruning dead code.

True, but we did talk about xend removal for quite a while before doing it.

Quoted 7 lines

However, I believe that the folks that did Remus look to be using it (And they have tons of patches against it).

It is unclear to me whether they:
- want to be the maintainers of it?
- want to use blktap3 but haven't yet backported their patches.

The remus patches are against blktap2, not blktap1. We currently have both in-tree.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#7 lore raw

Re: Is: Discussion about doing it in Xen 4.5 or Xen 4.6 Was:Re: [PATCH] tools: remove blktap1

Quoted 31 lines · Andrew Cooper
Quoted 30 lines · Konrad Rzeszutek Wilk
Quoted 19 lines · Andrew Cooper
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

What about XenServer?

We are most definitely not using it, and haven’t used it in a very long time. We explicitly nuke BLKTAP1 and BLKTAP2 from the Xen build.

Quoted 1 line

And isn't there some blktap3 ?

https://github.com/xapi-project/blktap

Quoted 8 lines
Quoted 8 lines

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

Quoted 4 lines
Quoted 2 lines

You really want to be at the top of the commit list with the most deleted code, eh?

/me suspects that he is already, but I for one am a fan of pruning dead code.

True, but we did talk about xend removal for quite a while before doing it.

However, I believe that the folks that did Remus look to be using it (And they have tons of patches against it).

Quoted 6 lines
Quoted 3 lines

It is unclear to me whether they:
- want to be the maintainers of it?
- want to use blktap3 but haven't yet backported their patches.

The remus patches are against blktap2, not blktap1. We currently have both in-tree.

<slaps his head>

OK, so blktap1 - dead. That looks like it could go under the knife now.

blktap2 - waiting for response

Is the long-term idea to put 'blktap3' in the tree?

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#8 lore raw

Re: Is: Discussion about doing it in Xen 4.5 or Xen 4.6 Was:Re: [PATCH] tools: remove blktap1

Quoted 36 lines · Konrad Rzeszutek Wilk
Quoted 35 lines · Andrew Cooper
Quoted 33 lines · Konrad Rzeszutek Wilk
Quoted 19 lines · Andrew Cooper
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

What about XenServer?

We are most definitely not using it, and haven’t used it in a very long time. We explicitly nuke BLKTAP1 and BLKTAP2 from the Xen build.

Quoted 1 line

And isn't there some blktap3 ?

https://github.com/xapi-project/blktap

Quoted 8 lines
Quoted 8 lines

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

Quoted 4 lines
Quoted 2 lines

You really want to be at the top of the commit list with the most deleted code, eh?

/me suspects that he is already, but I for one am a fan of pruning dead code.

True, but we did talk about xend removal for quite a while before doing it.

However, I believe that the folks that did Remus look to be using it (And they have tons of patches against it).

It is unclear to me whether they:
- want to be the maintainers of it?
- want to use blktap3 but haven't yet backported their patches.

Quoted 6 lines
Quoted 2 lines

The remus patches are against blktap2, not blktap1. We currently have both in-tree.

<slaps his head>

OK, so blktap1 - dead. That looks like it could go under the knife now.

IMHO yes it could.

Quoted 1 line

blktap2 - waiting for response

This should stay, at least for the time being, and certainly for 4.5.

Quoted 1 line

Is the long-term idea to put 'blktap3' in the tree?

I don't think so.

George was going to make a proposal about future plans for blktap*.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#9 lore raw

Re: Is: Discussion about doing it in Xen 4.5 or Xen 4.6 Was:Re: [PATCH] tools: remove blktap1

Quoted 48 lines · Ian Campbell
Quoted 36 lines · Konrad Rzeszutek Wilk
Quoted 35 lines · Andrew Cooper
Quoted 33 lines · Konrad Rzeszutek Wilk
Quoted 19 lines · Andrew Cooper
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

What about XenServer?

We are most definitely not using it, and haven’t used it in a very long time. We explicitly nuke BLKTAP1 and BLKTAP2 from the Xen build.

Quoted 1 line

And isn't there some blktap3 ?

https://github.com/xapi-project/blktap

Quoted 8 lines
Quoted 8 lines

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

Quoted 4 lines
Quoted 2 lines

You really want to be at the top of the commit list with the most deleted code, eh?

/me suspects that he is already, but I for one am a fan of pruning dead code.

True, but we did talk about xend removal for quite a while before doing it.

However, I believe that the folks that did Remus look to be using it (And they have tons of patches against it).

It is unclear to me whether they:
- want to be the maintainers of it?
- want to use blktap3 but haven't yet backported their patches.

Quoted 6 lines
Quoted 2 lines

The remus patches are against blktap2, not blktap1. We currently have both in-tree.

<slaps his head>

OK, so blktap1 - dead. That looks like it could go under the knife now.

IMHO yes it could.

Quoted 1 line

blktap2 - waiting for response

Quoted 7 lines

This should stay, at least for the time being, and certainly for 4.5.

Quoted 1 line

Is the long-term idea to put 'blktap3' in the tree?

I don't think so.

George was going to make a proposal about future plans for blktap*.

I belive it makes sense to wait for George's proposal.

While I believe the outcome of it is going to be rm *blktap1* you never know who is going to come out of the woodshed when code is to be deleted.

Quoted 3 lines

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#10 lore raw

Re: Is: Discussion about doing it in Xen 4.5 or Xen 4.6 Was:Re: [PATCH] tools: remove blktap1

Quoted 48 lines · Konrad Rzeszutek Wilk
Quoted 47 lines · Ian Campbell
Quoted 32 lines · Konrad Rzeszutek Wilk
Quoted 31 lines · Andrew Cooper
Quoted 30 lines · Konrad Rzeszutek Wilk
Quoted 19 lines · Andrew Cooper
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been removed from the tree I don't believe anything is using it.

What about XenServer?

We are most definitely not using it, and haven’t used it in a very long time. We explicitly nuke BLKTAP1 and BLKTAP2 from the Xen build.

Quoted 1 line

And isn't there some blktap3 ?

https://github.com/xapi-project/blktap

Quoted 8 lines
Quoted 8 lines

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional otherwise it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't much harm in waiting for 4.6. I'm open to being told otherwise though ;-)

Quoted 4 lines
Quoted 2 lines

You really want to be at the top of the commit list with the most deleted code, eh?

/me suspects that he is already, but I for one am a fan of pruning dead code.

True, but we did talk about xend removal for quite a while before doing it.

However, I believe that the folks that did Remus look to be using it (And they have tons of patches against it).

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

It is unclear to me whether they:
- want to be the maintainers of it?
- want to use blktap3 but haven't yet backported their patches.

The remus patches are against blktap2, not blktap1. We currently have both in-tree.

<slaps his head>

OK, so blktap1 - dead. That looks like it could go under the knife now.

IMHO yes it could.

Quoted 1 line

blktap2 - waiting for response

This should stay, at least for the time being, and certainly for 4.5.

Quoted 1 line

Is the long-term idea to put 'blktap3' in the tree?

Quoted 8 lines
Quoted 3 lines

I don't think so.

George was going to make a proposal about future plans for blktap*.

I belive it makes sense to wait for George's proposal.

While I believe the outcome of it is going to be rm *blktap1* you never know who is going to come out of the woodshed when code is to be deleted.

My proposal doesn't consider blktap1.

While I'm all in favor of nuking useless functionality, I think the timing of this is pretty bad -- we've already had an RC; if anyone *is* using it, the probability of them not noticing that it's gone missing between now and the release is pretty high. I'd much rather wait and nuke it at the beginning of the cycle, like we did with xend.

-George

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#11 lore raw

Re: Is: Discussion about doing it in Xen 4.5 or Xen 4.6 Was:Re: [PATCH] tools: remove blktap1

In reply to Andrew Cooper
Quoted 36 lines · Andrew Cooper
Quoted 4 lines · Konrad Rzeszutek Wilk
Quoted 3 lines · Andrew Cooper
Quoted 2 lines · Konrad Rzeszutek Wilk
Quoted 1 line · Ian Campbell

This was disabled by default in Xen 4.4. Since xend has now been

removed from

Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
Quoted 1 line

the tree I don't believe anything is using it.

What about XenServer?

We are most definitely not using it, and haven’t used it in a very long time. We explicitly nuke BLKTAP1 and BLKTAP2 from the Xen build.

Quoted 1 line

And isn't there some blktap3 ?

https://github.com/xapi-project/blktap

Quoted 1 line
Quoted 1 line

We need to pass an explicit CONFIG_BLKTAP1=n to qemu-xen-traditional

otherwise

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

it defaults to y and doesn't build.

Cc Konrad Rzeszutek Wilk <[email protected]>

---
I think this has probably missed the boat for 4.5 and there isn't

much harm in

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line

waiting for 4.6. I'm open to being told otherwise though ;-)

You really want to be at the top of the commit list with the most

deleted

Quoted 4 lines
Quoted 3 lines
Quoted 1 line

code, eh?

/me suspects that he is already, but I for one am a fan of pruning dead code.

True, but we did talk about xend removal for quite a while before doing

it.

Quoted 5 lines

However, I believe that the folks that did Remus look to be using it (And they have tons of patches against it).

Quoted 8 lines
Quoted 3 lines

It is unclear to me whether they:
- want to be the maintainers of it?
- want to use blktap3 but haven't yet backported their patches.

The remus patches are against blktap2, not blktap1. We currently have both in-tree.

More like prep patches for COLO stuff. No one that I am aware of is using blktap2 with Remus.
So if blktap2 is being kept around just for Remus' sake, please feel free to axe it.

Quoted 7 lines

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel