[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] qemu-img: removing created when img_create f
From: |
Daniel Henrique Barboza |
Subject: |
[Qemu-devel] [PATCH v2 0/3] qemu-img: removing created when img_create fails |
Date: |
Fri, 22 Mar 2019 14:52:38 -0300 |
This is a patch series that follows up the patch [1] after
the review from Daniel P. Berrange.
The new interface is being implemented only by the LUKS driver
because this is the error condition I'm trying to fix. My first
idea when coding it was to implement this interface in all drivers
that deals with local files, but I thought it would be overkill -
at least for this second spin.
[1] https://lists.gnu.org/archive/html/qemu-devel/2019-03/msg05899.html
Daniel Henrique Barboza (3):
block: introducing 'bdrv_co_delete_file' interface
block.c: adding bdrv_delete_file
qemu-img.c: clean up created file on img_create failure
block.c | 117 ++++++++++++++++++++++++++++++++++++++
block/crypto.c | 2 +
include/block/block.h | 6 ++
include/block/block_int.h | 6 ++
qemu-img.c | 29 +++++++++-
5 files changed, 159 insertions(+), 1 deletion(-)
--
2.20.1