]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Allocate domain definition with the new helper
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 Feb 2015 15:30:11 +0000 (16:30 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Feb 2015 16:43:05 +0000 (17:43 +0100)
commitc03411199eec1079a88c690eb48d566e2dcc1673
treef9631aae7ccdf96307d922ff47cd57680e59c519
parent61e43ce9df0ec5a9d7b09ebb46caa85576923311
conf: Allocate domain definition with the new helper

Use the virDomainDefNew() helper to allocate the definition instead of
doing it via VIR_ALLOC.
13 files changed:
src/conf/domain_conf.c
src/lxc/lxc_native.c
src/openvz/openvz_conf.c
src/parallels/parallels_sdk.c
src/phyp/phyp_driver.c
src/qemu/qemu_command.c
src/vbox/vbox_common.c
src/vmx/vmx.c
src/xenconfig/xen_sxpr.c
src/xenconfig/xen_xl.c
src/xenconfig/xen_xm.c
tests/openvzutilstest.c
tests/securityselinuxtest.c