]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: bhyveDomainDefineXML fixes
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 21 Apr 2014 16:15:26 +0000 (20:15 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 23 Apr 2014 11:59:33 +0000 (15:59 +0400)
commitfa8a389ebb25f73ad4c8d561750e7d2e049990d5
tree88f76392b762e4c93870c2b8b74d16618b5efd88
parent7b6b9d3863769df521dc2530651ffa41deb255ca
bhyve: bhyveDomainDefineXML fixes

- do not lose new definition for an active domain
- do not leak oldDef
- do not set dom->id if virDomainSaveConfig() fails
- do not call virObjectUnlock(vm) if vm is NULL
src/bhyve/bhyve_driver.c