]> git.proxmox.com Git - mirror_qemu.git/commit
nbd/server: Prepare to send extended header replies
authorEric Blake <eblake@redhat.com>
Mon, 25 Sep 2023 19:22:33 +0000 (14:22 -0500)
committerEric Blake <eblake@redhat.com>
Thu, 5 Oct 2023 16:02:08 +0000 (11:02 -0500)
commit11d3355fc83f48b317f0d1f70d69c0085da7dce6
tree2350c9b819e565e9bbbf8767903d64b7af74b447
parentc8720ca03e01cf68f23a2017586db57abe12de0f
nbd/server: Prepare to send extended header replies

Although extended mode is not yet enabled, once we do turn it on, we
need to reply with extended headers to all messages.  Update the low
level entry points necessary so that all other callers automatically
get the right header based on the current mode.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230925192229.3186470-17-eblake@redhat.com>
nbd/server.c