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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx>
---

diff to v1 [1]:
- move virDomainObjEndAPI call to qemuMigrationSrcPerform callers

[1] https://www.redhat.com/archives/libvir-list/2019-April/msg00032.html

  src/qemu/qemu_driver.c    | 21 +++++++++------------
  src/qemu/qemu_migration.c |  2 --
  2 files changed, 9 insertions(+), 14 deletions(-)

ACK. I'll let Jirka chime in to decide if this is worth merging into 5.2.0 or wait for 5.3.0. Jirka?

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux