Re: [Qemu-devel] [PATCH v5 2/4] block.c: adding bdrv_delete_file

2019-09-03 Thread Kevin Wolf
Am 03.09.2019 um 11:55 hat Daniel Henrique Barboza geschrieben: > > > On 9/3/19 6:22 AM, Kevin Wolf wrote: > > Am 29.08.2019 um 04:07 hat John Snow geschrieben: > > > > > > On 8/7/19 10:21 AM, Daniel Henrique Barboza wrote: > > > > Using the new 'bdrv_co_delete_file' interface, bdrv_delete_file

Re: [Qemu-devel] [PATCH v5 2/4] block.c: adding bdrv_delete_file

2019-09-03 Thread Daniel Henrique Barboza
On 9/3/19 6:22 AM, Kevin Wolf wrote: Am 29.08.2019 um 04:07 hat John Snow geschrieben: On 8/7/19 10:21 AM, Daniel Henrique Barboza wrote: Using the new 'bdrv_co_delete_file' interface, bdrv_delete_file can be used in a way similar of the existing bdrv_create_file to to clean up a created fi

Re: [Qemu-devel] [PATCH v5 2/4] block.c: adding bdrv_delete_file

2019-09-03 Thread Kevin Wolf
Am 29.08.2019 um 04:07 hat John Snow geschrieben: > > > On 8/7/19 10:21 AM, Daniel Henrique Barboza wrote: > > Using the new 'bdrv_co_delete_file' interface, bdrv_delete_file > > can be used in a way similar of the existing bdrv_create_file to > > to clean up a created file. > > > > The logic is

Re: [Qemu-devel] [PATCH v5 2/4] block.c: adding bdrv_delete_file

2019-09-02 Thread Daniel Henrique Barboza
On 8/28/19 11:07 PM, John Snow wrote: On 8/7/19 10:21 AM, Daniel Henrique Barboza wrote: Using the new 'bdrv_co_delete_file' interface, bdrv_delete_file can be used in a way similar of the existing bdrv_create_file to to clean up a created file. The logic is also similar to what is already

Re: [Qemu-devel] [PATCH v5 2/4] block.c: adding bdrv_delete_file

2019-08-28 Thread John Snow
On 8/7/19 10:21 AM, Daniel Henrique Barboza wrote: > Using the new 'bdrv_co_delete_file' interface, bdrv_delete_file > can be used in a way similar of the existing bdrv_create_file to > to clean up a created file. > > The logic is also similar to what is already done in bdrv_create_file: > a qe

[Qemu-devel] [PATCH v5 2/4] block.c: adding bdrv_delete_file

2019-08-07 Thread Daniel Henrique Barboza
Using the new 'bdrv_co_delete_file' interface, bdrv_delete_file can be used in a way similar of the existing bdrv_create_file to to clean up a created file. The logic is also similar to what is already done in bdrv_create_file: a qemu_coroutine is created if needed, a specialized function bdrv_del