qemu/block/export
Kevin Wolf 69f28176ca block/export: Don't ignore image activation error in blk_exp_add()
Currently, block exports can't handle inactive images correctly.
Incoming write requests would run into assertion failures. Make sure
that we return an error when creating an export can't activate the
image.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20250204211407.381505-11-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2025-02-06 14:26:51 +01:00
..
export.c block/export: Don't ignore image activation error in blk_exp_add() 2025-02-06 14:26:51 +01:00
fuse.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
meson.build vduse-blk: Implement vduse-blk export 2022-06-24 17:07:06 +02:00
vduse-blk.c block: Adjust check_block_size() signature 2024-10-18 15:03:35 +02:00
vduse-blk.h vduse-blk: Implement vduse-blk export 2022-06-24 17:07:06 +02:00
vhost-user-blk-server.c block: Adjust check_block_size() signature 2024-10-18 15:03:35 +02:00
vhost-user-blk-server.h block: spelling fixes 2023-09-08 13:08:52 +03:00
virtio-blk-handler.c block/export: Fix graph locking in blk_get_geometry() call 2023-03-27 15:16:05 +02:00
virtio-blk-handler.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00