qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v6 0/4] delete created files when block_crypto_co_create_opts_luks fails
@ 2019-09-02 20:58 Daniel Henrique Barboza
  2019-09-02 20:58 ` [Qemu-devel] [PATCH v6 1/4] block: introducing 'bdrv_co_delete_file' interface Daniel Henrique Barboza
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Daniel Henrique Barboza @ 2019-09-02 20:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, Daniel Henrique Barboza, jsnow

Changes from previous version 5 [1] suggested by John Snow:
- patch 2: return ENOMEDIUM with !drv, return negative error
codes in bdrv_delete_file
- patch 3: clarify the meaning of returning ENOENT in the
comment

[1] https://lists.gnu.org/archive/html/qemu-devel/2019-08/msg01173.html


Daniel Henrique Barboza (4):
  block: introducing 'bdrv_co_delete_file' interface
  block.c: adding bdrv_delete_file
  crypto.c: cleanup created file when block_crypto_co_create_opts_luks
    fails
  qemu-iotests: adding LUKS cleanup for non-UTF8 secret error

 block.c                    | 78 ++++++++++++++++++++++++++++++++++++++
 block/crypto.c             | 22 +++++++++++
 block/file-posix.c         | 28 ++++++++++++++
 include/block/block.h      |  1 +
 include/block/block_int.h  |  6 +++
 tests/qemu-iotests/259     | 67 ++++++++++++++++++++++++++++++++
 tests/qemu-iotests/259.out | 11 ++++++
 tests/qemu-iotests/group   |  1 +
 8 files changed, 214 insertions(+)
 create mode 100755 tests/qemu-iotests/259
 create mode 100644 tests/qemu-iotests/259.out

-- 
2.21.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-03  9:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-02 20:58 [Qemu-devel] [PATCH v6 0/4] delete created files when block_crypto_co_create_opts_luks fails Daniel Henrique Barboza
2019-09-02 20:58 ` [Qemu-devel] [PATCH v6 1/4] block: introducing 'bdrv_co_delete_file' interface Daniel Henrique Barboza
2019-09-02 20:58 ` [Qemu-devel] [PATCH v6 2/4] block.c: adding bdrv_delete_file Daniel Henrique Barboza
2019-09-02 20:58 ` [Qemu-devel] [PATCH v6 3/4] crypto.c: cleanup created file when block_crypto_co_create_opts_luks fails Daniel Henrique Barboza
2019-09-02 20:58 ` [Qemu-devel] [PATCH v6 4/4] qemu-iotests: adding LUKS cleanup for non-UTF8 secret error Daniel Henrique Barboza
2019-09-03  9:56 ` [Qemu-devel] [PATCH v6 0/4] delete created files when block_crypto_co_create_opts_luks fails Daniel Henrique Barboza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).