plugins: Wire up nbd plugin support for NBD_INFO_INIT_STATEmasternbd-init-v1
commitd6d5789067b11cd67204a79ff79a46bbbbec4e41
authorEric Blake <eblake@redhat.com>
Mon, 3 Feb 2020 22:36:37 +0000 (3 16:36 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 10 Feb 2020 20:48:58 +0000 (10 14:48 -0600)
treeb0c48a01ecb674b112c1f6f6f18497a2a0b9a7b4
parenta7d5cbdd58823e90a3d2c6e34c353141f3198d13
plugins: Wire up nbd plugin support for NBD_INFO_INIT_STATE

The NBD protocol is adding an extension to let servers advertise
initialization state to the client: whether the image contains holes,
and whether it is known to read as all zeroes.  With recent enough
libnbd, the nbd plugin can pass this information through.

Signed-off-by: Eric Blake <eblake@redhat.com>
plugins/nbd/nbd.c