[libvirt] [PATCH 08/10] qemu: blockjob: Separate clearing of per-job data

Cole Robinson crobinso at redhat.com
Tue Nov 26 20:49:00 UTC 2019


On 11/26/19 10:17 AM, Peter Krempa wrote:
> We will need to clear per-job type data when we will be marking a
> blockjob as broken in the new way. Extract the code for future reuse.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/qemu/qemu_blockjob.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/src/qemu/qemu_blockjob.c b/src/qemu/qemu_blockjob.c
> index 5a6c5542a6..6db3e0ca84 100644
> --- a/src/qemu/qemu_blockjob.c
> +++ b/src/qemu/qemu_blockjob.c
> @@ -70,6 +70,13 @@ VIR_ENUM_IMPL(qemuBlockjob,
> 
>  static virClassPtr qemuBlockJobDataClass;
>

Need an extra newline here to preserve previous spacing

Reviewed-by: Cole Robinson <crobinso at redhat.com>

- Cole




More information about the libvir-list mailing list