I'm not necessarily proposing this as a patch for nbdkit, so this is
mainly posting as a back-up on the mailing list.
Previous version of the same patch with discussion:
https://listman.redhat.com/archives/libguestfs/2023-February/thread.html#...
Rich.