qemu/nbd
Kevin Wolf 2e73a17c68 nbd/server: Support inactive nodes
In order to support running an NBD export on inactive nodes, we must
make sure to return errors for any operations that aren't allowed on
inactive nodes. Reads are the only operation we know we need for
inactive images, so to err on the side of caution, return errors for
everything else, even if some operations could possibly be okay.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Message-ID: <20250204211407.381505-14-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2025-02-06 14:47:07 +01:00
..
client-connection.c nbd: fix -Werror=maybe-uninitialized false-positive 2024-10-02 16:14:29 +04:00
client.c nbd/server: do not poll within a coroutine context 2024-04-25 07:56:16 -05:00
common.c nbd/server: do not poll within a coroutine context 2024-04-25 07:56:16 -05:00
meson.build nbd: move connection code from block/nbd to nbd/client-connection 2021-06-18 10:59:53 -05:00
nbd-internal.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
server.c nbd/server: Support inactive nodes 2025-02-06 14:47:07 +01:00
trace-events nbd/server: CVE-2024-7409: Drop non-negotiating clients 2024-08-08 16:25:33 -05:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00