Hi Rich---we were running qemu and nbdkit on the same machine, connecting over tcp. after updating to the latest development version of nbdkit (containing the commits you mentioned), everything works perfectly. running bonnie++ inside the guest indicates that connecting qemu to nbdkit has performance similar to or better than connecting qemu directly to the disk image.  thanks a lot for your work and advice--we just wanted to drop you this note to tell you about our experience, in case someone else ends up having similar questions.

regards,

/ivo and arthur
 
 --
Ivo Welch (ivo.welch@ucla.edu)
http://www.ivo-welch.info/
J. Fred Weston Distinguished Professor of Finance, UCLA Anderson



On Fri, Aug 2, 2019 at 12:49 AM Richard W.M. Jones <rjones@redhat.com> wrote:

BTW you might be interested in a ‘fio’ backend I wrote for testing NBD
servers.  The current public version is here:

https://www.spinics.net/lists/fio/msg07831.html

but I also now have a version based on libnbd although it's not quite
ready for use.

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