On Wed, Aug 02, 2023 at 08:50:40PM -0500, Eric Blake wrote:
This is the culmination of the previous patches' preparation work for using extended headers when possible. The new states in the state machine are copied extensively from our handling of OPT_STRUCTURED_REPLY. The next patch will then expose a new API nbd_opt_extended_headers() for manual control.
Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com> ---
v4: expand commit message to document other alternatives I did not code up
I have now pushed up through this point into the tree as commits d668062c..099aa257; I'm still polishing the remaining few patches to work cleanly with qemu patches at any point along either patch series (nbdinfo first needs to be taught to favor NBD_OPT_INFO mode where possible; as qemu reports support for the optional extension of block status filtering during INFO but not during GO when requesting only one meta-context). -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org