Skip to content

Commit

Permalink
qcow2: remove qcow2 target
Browse files Browse the repository at this point in the history
The implementation is very rough, and there are many bugs,
so remove it.

Signed-off-by: Ming Lei <[email protected]>
  • Loading branch information
ming1 committed Nov 17, 2024
1 parent 229e918 commit 3b8fb04
Show file tree
Hide file tree
Showing 27 changed files with 5 additions and 6,277 deletions.
6 changes: 2 additions & 4 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ sbin_PROGRAMS = ublk ublk_user_id
noinst_PROGRAMS = demo_null demo_event
dist_sbin_SCRIPTS = utils/ublk_chown.sh utils/ublk_chown_docker.sh

ublk_SOURCES = ublksrv_tgt.cpp tgt_null.cpp tgt_loop.cpp qcow2/tgt_qcow2.cpp \
qcow2/qcow2.cpp qcow2/qcow2_meta.cpp qcow2/utils.cpp \
qcow2/qcow2_flush_meta.cpp \
ublk_SOURCES = ublksrv_tgt.cpp tgt_null.cpp tgt_loop.cpp \
nbd/tgt_nbd.cpp nbd/cliserv.c nbd/nbd-client.c
ublk_CFLAGS = $(WARNINGS_CFLAGS) $(LIBURING_CFLAGS) $(PTHREAD_CFLAGS)
ublk_CPPFLAGS = $(ublk_CFLAGS) -I$(top_srcdir)/include
Expand All @@ -41,7 +39,7 @@ ublk_user_id_LDADD = lib/libublksrv.la $(LIBURING_LIBS) $(PTHREAD_LIBS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ublksrv.pc

CLEANFILES = *~ test cscope.* include/*~ *.d qcow2/*~ nbd/*~ utils/*~ doc/html/*
CLEANFILES = *~ test cscope.* include/*~ *.d nbd/*~ utils/*~ doc/html/*

R = 10
D = tests/tmp/
Expand Down
14 changes: 0 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,6 @@ or

- ublk add -t loop -f 1.img


add one qcow2 disk
------------------

- ublk add -t qcow2 -f test.qcow2

note: qcow2 support is experimental, see details in qcow2 status [#qcow2_status]_
and readme [#qcow2_readme]_


remove one ublk disk
--------------------

Expand Down Expand Up @@ -305,8 +295,6 @@ by MIT license.
The library functions (all code in lib/ directory and include/ublksrv.h)
are covered by dual licensed LGPL and MIT, see COPYING.LGPL and LICENSE.

qcow2 and nbd target code is covered by GPL-2.0, see COPYING.

All other source code are covered by dual licensed GPL and MIT, see
COPYING and LICENSE.

Expand All @@ -316,7 +304,5 @@ References
.. [#ublk_driver] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/block/ublk_drv.c?h=v6.0
.. [#zero_copy] https://lore.kernel.org/all/[email protected]/
.. [#nlohmann] https://github.com/nlohmann/json
.. [#qcow2_status] https://github.com/ming1/ubdsrv/blob/master/qcow2/STATUS.rst
.. [#qcow2_readme] https://github.com/ming1/ubdsrv/blob/master/qcow2/README.rst
.. [#build_with_liburing_src] https://github.com/ming1/ubdsrv/blob/master/build_with_liburing_src
.. [#stefan_container] https://lore.kernel.org/linux-block/[email protected]/
263 changes: 0 additions & 263 deletions qcow2/README.rst

This file was deleted.

42 changes: 0 additions & 42 deletions qcow2/STATUS.rst

This file was deleted.

Loading

0 comments on commit 3b8fb04

Please sign in to comment.