[Libguestfs] [libnbd PATCH 1/2] info: Expose whether structured replies were negotiated

Eric Blake eblake at redhat.com
Wed Oct 12 16:08:53 UTC 2022


On Tue, Oct 11, 2022 at 04:52:12PM -0500, Eric Blake wrote:
> This is a per-connection setting, rather than per-export; and becomes
> more interesting in light of future extensions to the NBD protocol
> that will add 64-bit support needing similar output, to make it easier
> to quickly determine whether a given server supports particular NBD
> extensions.
> ---

> +++ b/info/info-packets.sh
> @@ -0,0 +1,38 @@

> +
> +requires nbdkit --version
> +requires nbdkit memory --version
> +
> +out=info-packets.out
> +cleanup_fn rm -f $out
> +
> +nbdkit --no-sr -U - memory size=1M \

Our CI complains that debian-10 lacks new-enough nbdkit for --no-sr
(added in 1.14); I also see a couple of other tests similarly
affected. I've pushed a followup patch to skip in that case.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


More information about the Libguestfs mailing list