]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: convert DefineXMLFlags to use begin/end API pattern
authorJim Fehlig <jfehlig@suse.com>
Fri, 16 Mar 2018 21:29:48 +0000 (15:29 -0600)
committerJim Fehlig <jfehlig@suse.com>
Wed, 21 Mar 2018 18:40:50 +0000 (12:40 -0600)
commit594b8b996c83724d6b1c73641daf277307afe5f7
tree1cbf142c17dde31e89d170d7e6e09a47eeeb0c1f
parent13e81fc6fad03aa6b6ecf4230f44b2ea55078229
libxl: convert DefineXMLFlags to use begin/end API pattern

Similar to other uses of virDomainObjListAdd, on success add a ref to the
virDomainObj so that virDomainObjEndAPI can be called as usual.

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