Re: [libvirt] [PATCH 1/2] qemu: Separate image metadata removal into a function

2019-11-19 Thread Peter Krempa
On Tue, Nov 19, 2019 at 10:14:08 +0100, Michal Privoznik wrote: > There are four places where we remove image XATTRs and in all of > them we have the same for() loop with the same body. Move it into > a separate function because I'm about to introduce fifth place > where the same needs to be done.

[libvirt] [PATCH 1/2] qemu: Separate image metadata removal into a function

2019-11-19 Thread Michal Privoznik
There are four places where we remove image XATTRs and in all of them we have the same for() loop with the same body. Move it into a separate function because I'm about to introduce fifth place where the same needs to be done. Signed-off-by: Michal Privoznik --- src/qemu/qemu_block.c| 25 +++