]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: MigratePerform: properly cleanup after libxlDomObjFromDomain
authorJim Fehlig <jfehlig@suse.com>
Tue, 13 Mar 2018 17:05:36 +0000 (11:05 -0600)
committerJim Fehlig <jfehlig@suse.com>
Fri, 16 Mar 2018 17:14:58 +0000 (11:14 -0600)
commitf5eacf2a9ad2b7ba07dd0fc745c098cd2d26b6ee
treef09efd82306e3748a117635dce72fa628a446b6f
parent99486799c3f911caa009d64889fc05ec3b07f986
libxl: MigratePerform: properly cleanup after libxlDomObjFromDomain

libxlDomObjFromDomain to returns locked and ref counted virDomainObj but
libxlDomainMigratePerform3Params only unlocks the object on exit. Convert
it to use the virDomainObjEndAPI function for cleanup.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/libxl/libxl_driver.c