]> Git Repo - qemu.git/commit - block/stream.c
stream: Don't crash when node permission is denied
authorKevin Wolf <[email protected]>
Tue, 9 Mar 2021 17:34:51 +0000 (18:34 +0100)
committerKevin Wolf <[email protected]>
Fri, 19 Mar 2021 09:15:06 +0000 (10:15 +0100)
commit1bf26076d677f693dd99a6e8ef2eca69b842d873
treee070a9cc13c2c02e0a1a3c990db6f2b7da9fb406
parente21577707152c10017dcf4d3340e83b100057355
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 <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Message-Id: <20210309173451[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Alberto Garcia <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/stream.c
tests/qemu-iotests/tests/qsd-jobs
tests/qemu-iotests/tests/qsd-jobs.out
This page took 0.025491 seconds and 4 git commands to generate.