[Libguestfs] [nbdkit PATCH 0/3] .list_exports in nbd plugin

Eric Blake eblake at redhat.com
Fri Aug 28 21:22:11 UTC 2020


Another series on top of my exportname filter, marking off another
todo bullet point.  With this, you can now use the NBD plugin as a
transparent passthrough of all export names served by the remote
server in both directions (list advertisement server to client, and
export name from client to server).

Eric Blake (3):
  nbd: Implement .default_export, .export_description
  nbd: Add dynamic-export=true option
  nbd: Implement .list_exports

 plugins/nbd/nbdkit-nbd-plugin.pod |  30 +++-
 tests/Makefile.am                 |   4 +
 plugins/nbd/nbd.c                 | 250 +++++++++++++++++++++++++-----
 tests/test-nbd-dynamic-content.sh |  75 +++++++++
 tests/test-nbd-dynamic-list.sh    | 162 +++++++++++++++++++
 5 files changed, 482 insertions(+), 39 deletions(-)
 create mode 100755 tests/test-nbd-dynamic-content.sh
 create mode 100755 tests/test-nbd-dynamic-list.sh

-- 
2.28.0




More information about the Libguestfs mailing list