Thanks for the review. This is what I pushed which I think should
incorporate all the suggestions you made. I have also checked it
works with older glibc now.
https://gitlab.com/nbdkit/nbdkit/-/commit/362e0fdcae37db876e13b944102a5c1...
https://gitlab.com/nbdkit/nbdkit/-/commit/ae8c815e54e66ac7b421e0a6929c39d...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v