Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
libvirt.11701
f5eacf2a-libxl-MigratePerform.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File f5eacf2a-libxl-MigratePerform.patch of Package libvirt.11701
commit f5eacf2a9ad2b7ba07dd0fc745c098cd2d26b6ee Author: Jim Fehlig <jfehlig@suse.com> Date: Tue Mar 13 11:05:36 2018 -0600 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> Index: libvirt-4.0.0/src/libxl/libxl_driver.c =================================================================== --- libvirt-4.0.0.orig/src/libxl/libxl_driver.c +++ libvirt-4.0.0/src/libxl/libxl_driver.c @@ -6088,8 +6088,7 @@ libxlDomainMigratePerform3Params(virDoma ret = 0; cleanup: - if (vm) - virObjectUnlock(vm); + virDomainObjEndAPI(&vm); return ret; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor