diff options
author | Eric Blake <eblake@redhat.com> | 2023-06-08 08:56:34 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2023-07-19 15:25:30 -0500 |
commit | 22efd81104f07f7dbe571a923cc43ed625560551 (patch) | |
tree | f106507332fae71e8035ae259c24cbc95b1cd505 /monitor | |
parent | 66d4f4fe2f1c282a34a429f61aa4283e60336500 (diff) | |
download | qemu-22efd81104f07f7dbe571a923cc43ed625560551.zip qemu-22efd81104f07f7dbe571a923cc43ed625560551.tar.gz qemu-22efd81104f07f7dbe571a923cc43ed625560551.tar.bz2 |
nbd: s/handle/cookie/ to match NBD spec
Externally, libnbd exposed the 64-bit opaque marker for each client
NBD packet as the "cookie", because it was less confusing when
contrasted with 'struct nbd_handle *' holding all libnbd state. It
also avoids confusion between the noun 'handle' as a way to identify a
packet and the verb 'handle' for reacting to things like signals.
Upstream NBD changed their spec to favor the name "cookie" based on
libnbd's recommendations[1], so we can do likewise.
[1] https://github.com/NetworkBlockDevice/nbd/commit/ca4392eb2b
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230608135653.2918540-6-eblake@redhat.com>
[eblake: typo fix]
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Diffstat (limited to 'monitor')
0 files changed, 0 insertions, 0 deletions