diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2025-02-04 22:14:01 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2025-02-06 14:26:51 +0100 |
| commit | 69f28176ca0af850db23a1c6364f0c8525b20801 (patch) | |
| tree | de769c17a64329215a4c1cf4cf41041ca0d086a2 /hw/net/virtio-net.c | |
| parent | c1c5c7cc4ef6c45ca769c640566fd40d2cb7d5c1 (diff) | |
| download | focaccia-qemu-69f28176ca0af850db23a1c6364f0c8525b20801.tar.gz focaccia-qemu-69f28176ca0af850db23a1c6364f0c8525b20801.zip | |
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>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions