diff options
author | Kevin Wolf <kwolf@redhat.com> | 2021-03-09 18:34:51 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-03-19 10:15:06 +0100 |
commit | 1bf26076d677f693dd99a6e8ef2eca69b842d873 (patch) | |
tree | e070a9cc13c2c02e0a1a3c990db6f2b7da9fb406 /block/vvfat.c | |
parent | e21577707152c10017dcf4d3340e83b100057355 (diff) | |
download | qemu-1bf26076d677f693dd99a6e8ef2eca69b842d873.zip qemu-1bf26076d677f693dd99a6e8ef2eca69b842d873.tar.gz qemu-1bf26076d677f693dd99a6e8ef2eca69b842d873.tar.bz2 |
stream: Don't crash when node permission is denied
The image streaming block job restricts shared permissions of the nodes
it accesses. This can obviously fail when other users already got these
permissions. &error_abort is therefore wrong and can crash. Handle these
errors gracefully and just fail starting the block job.
Reported-by: Nini Gu <ngu@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210309173451.45152-1-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vvfat.c')
0 files changed, 0 insertions, 0 deletions