Re: [libvirt] [PATCH 10/13] qemu: snapshot: Don't overload 'ret' in qemuDomainSnapshotCreateDiskActive

2019-06-08 Thread Ján Tomko
On Wed, Jun 05, 2019 at 05:28:32PM +0200, Peter Krempa wrote: Introduce 'rc' for collecting state from monitor commands so that we can initialize 'ret' to -1. This also fixes few cases which could return 0 from the fucntion despite an error condition. function Signed-off-by: Peter Krempa

[libvirt] [PATCH 10/13] qemu: snapshot: Don't overload 'ret' in qemuDomainSnapshotCreateDiskActive

2019-06-05 Thread Peter Krempa
Introduce 'rc' for collecting state from monitor commands so that we can initialize 'ret' to -1. This also fixes few cases which could return 0 from the fucntion despite an error condition. Signed-off-by: Peter Krempa --- src/qemu/qemu_driver.c | 23 --- 1 file changed, 12