Re: [libvirt] [PATCH v2] qemu: fix domain unlock/unref in qemuMigrationSrcPerform

2019-04-01 Thread Michal Privoznik
On 4/1/19 3:28 PM, Nikolay Shirokovskiy wrote: qemuMigrationSrcPerform callers expect it to call virDomainObjEndAPI in any case so on error paths we miss the virDomainObjEndAPI call. To fix this let's make qemuMigrationSrcPerform callers responsible for the virDomainObjEndAPI call. Signed-off-by

[libvirt] [PATCH v2] qemu: fix domain unlock/unref in qemuMigrationSrcPerform

2019-04-01 Thread Nikolay Shirokovskiy
qemuMigrationSrcPerform callers expect it to call virDomainObjEndAPI in any case so on error paths we miss the virDomainObjEndAPI call. To fix this let's make qemuMigrationSrcPerform callers responsible for the virDomainObjEndAPI call. Signed-off-by: Nikolay Shirokovskiy --- diff to v1 [1]: - mo