diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2020-12-17 19:09:04 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-02-15 15:10:14 +0100 |
commit | 6094cbeb72117204f3302a4581415ee1dc33a879 (patch) | |
tree | 2581645d9cb03b067cb8b3906f4929d02db83771 /include/hw/arm | |
parent | a890f08e586fd81946c51dae6a878d64486b1364 (diff) | |
download | qemu-6094cbeb72117204f3302a4581415ee1dc33a879.zip qemu-6094cbeb72117204f3302a4581415ee1dc33a879.tar.gz qemu-6094cbeb72117204f3302a4581415ee1dc33a879.tar.bz2 |
block: qcow2: remove the created file on initialization error
If the qcow initialization fails, we should remove the file if it was
already created, to avoid leaving stale files around.
We already do this for luks raw images.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-Id: <20201217170904.946013-4-mlevitsk@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/hw/arm')
0 files changed, 0 insertions, 0 deletions