Re: [libvirt] [PATCH 9/9] qemu: Always reset @info in qemuDomainGetJobInfo

2019-11-26 Thread Eric Blake
On 11/25/19 9:01 AM, Peter Krempa wrote: qemuDomainGetJobInfo didn't always reset the return data in @info. Thankfully this wouldn't be a problem as the RPC layer does it but we should do it anyways. Since we reset the struct we don't have to set the type to VIR_DOMAIN_JOB_NONE is as the value i

[libvirt] [PATCH 9/9] qemu: Always reset @info in qemuDomainGetJobInfo

2019-11-25 Thread Peter Krempa
qemuDomainGetJobInfo didn't always reset the return data in @info. Thankfully this wouldn't be a problem as the RPC layer does it but we should do it anyways. Since we reset the struct we don't have to set the type to VIR_DOMAIN_JOB_NONE is as the value is 0. Signed-off-by: Peter Krempa --- src