]> git.ipfire.org Git - thirdparty/qemu.git/commit
nbd/server: Advertise all contexts in response to bare LIST
authorEric Blake <eblake@redhat.com>
Fri, 30 Nov 2018 02:32:30 +0000 (20:32 -0600)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 2 Apr 2019 01:36:21 +0000 (20:36 -0500)
commite13f56a1540440226173291d003a230058030d5f
tree0a00c914e61014ea76076a84cdb8081fb0c570f3
parenta69e9049d6abb90e9fe6b6d54829cb51c9fc3cbe
nbd/server: Advertise all contexts in response to bare LIST

The NBD spec, and even our code comment, says that if the client
asks for NBD_OPT_LIST_META_CONTEXT with 0 queries, then we should
reply with (a possibly-compressed representation of) ALL contexts
that we are willing to let them try.  But commit 3d068aff forgot
to advertise qemu:dirty-bitmap:FOO.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20181130023232.3079982-2-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
(cherry picked from commit e31d802479df9daff1994a7ed1e36bbc5bb19d03)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
nbd/server.c