Repo:
https://github.com/lersek/virt-p2v.git
Branch: nbd-servers-simplification-v2
v1:
https://listman.redhat.com/archives/libguestfs/2022-March/028498.html
V2 addresses feedback from Rich, under v1. Please look for the "Notes:"
section on each patch for any changes to that patch.
Retested with "make check" / "make run-virt-p2v-in-an-nvme-vm".
Thanks,
Laszlo
Laszlo Ersek (11):
remove qemu-nbd support
remove "--nbd=nbdkit-no-sa" option parsing
nbd.c: simplify start_nbdkit()
open-code "localhost" as the listen hostname for nbdkit
nbd.c: remove bind_source_port()
remove "--nbd" option parsing
nbd.c: remove nbd_server_string()
nbd.c: remove "enum nbd_server"
nbd.c: pass "--exit-with-parent" to nbdkit if nbdkit supports it
nbd.c: bind listening socket without AI_ADDRCONFIG
do not connect to nbdkit after starting it
Makefile.am | 2 -
contrib/aux-scripts/do-build.sh | 7 +-
contrib/patches/0002-RHEL-5-ONLY-QEMU-NBD-1.4-HAS-NO-f-OPTION.patch | 34 --
conversion.c | 17 +-
dependencies.m4 | 13 +-
docs/p2v-building.pod | 9 +-
main.c | 7 +-
nbd.c | 611
+++-----------------
p2v.h | 8 +-
ssh.c | 6 +-
test-virt-p2v-nbdkit.sh | 5 +-
test-virt-p2v-scp.sh | 2 +-
test-virt-p2v-ssh.sh | 4 +-
test-virt-p2v.sh | 56 --
virt-p2v.pod | 49 +-
15 files changed, 108 insertions(+), 722 deletions(-)
delete mode 100644 contrib/patches/0002-RHEL-5-ONLY-QEMU-NBD-1.4-HAS-NO-f-OPTION.patch
delete mode 100755 test-virt-p2v.sh
base-commit: c1a4bd83a8bba5959470ef1f6deb06dc61587112
--
2.19.1.3.g30247aa5d201