Re: [Qemu-devel] [PATCH v2 20/22] qemu-nbd: Add --list option

2018-12-15 Thread Richard W.M. Jones
On Sat, Dec 15, 2018 at 07:53:22AM -0600, Eric Blake wrote: > @@ -557,13 +660,14 @@ int main(int argc, char **argv) > Error *local_err = NULL; > BlockdevDetectZeroesOptions detect_zeroes = > BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF; > QDict *options = NULL; > -const char *export_name

[Qemu-devel] [PATCH v2 20/22] qemu-nbd: Add --list option

2018-12-15 Thread Eric Blake
We want to be able to detect whether a given qemu NBD server is exposing the right export(s) and dirty bitmaps, at least for regression testing. We could use 'nbd-client -l' from the upstream NBD project to list exports, but it's annoying to rely on out-of-tree binaries; furthermore, nbd-client do