qemu/include
Eric Blake cb48a7089b nbd/server: Plumb in new args to nbd_client_add()
Upcoming patches to fix a CVE need to track an opaque pointer passed
in by the owner of a client object, as well as request for a time
limit on how fast negotiation must complete.  Prepare for that by
changing the signature of nbd_client_new() and adding an accessor to
get at the opaque pointer, although for now the two servers
(qemu-nbd.c and blockdev-nbd.c) do not change behavior even though
they pass in a new default timeout value.

Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20240807174943.771624-11-eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
[eblake: s/LIMIT/MAX_SECS/ as suggested by Dan]
Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit fb1c2aaa98)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-08-11 10:57:00 +03:00
..
authz
block nbd/server: Plumb in new args to nbd_client_add() 2024-08-11 10:57:00 +03:00
chardev
crypto crypto: Support export akcipher to pkcs8 2022-11-02 06:56:32 -04:00
disas
exec accel/tcg: Revert mapping of PCREL translation block to multiple virtual addresses 2024-01-25 19:14:18 +03:00
fpu
hw virtio-net: Fix network stall at the host side waiting for kick 2024-08-06 17:18:25 +03:00
io io: remove io watch if TLS channel is closed during handshake 2023-08-02 17:22:20 +03:00
libdecnumber
migration
monitor monitor: add missing coroutine_fn annotation 2022-10-27 20:14:11 +02:00
net net: Update MemReentrancyGuard for NIC 2023-11-29 16:20:11 +03:00
qapi
qemu host-utils: Add muldiv64_round_up 2023-09-25 23:43:49 +03:00
qom
scsi
semihosting
standard-headers
sysemu kvm: Introduce kvm_arch_get_default_type hook 2023-09-11 10:53:50 +03:00
tcg
ui
user
elf.h
glib-compat.h
qemu-io.h
qemu-main.h