[libvirt] [PATCH 14/24] conf: Allocate domain definition with the new helper
John Ferlan
jferlan at redhat.com
Thu Feb 19 22:35:39 UTC 2015
On 02/16/2015 01:52 PM, Peter Krempa wrote:
> Use the virDomainDefNew() helper to allocate the definition instead of
> doing it via VIR_ALLOC.
> ---
> src/conf/domain_conf.c | 2 +-
> src/lxc/lxc_native.c | 2 +-
> src/openvz/openvz_conf.c | 2 +-
> src/parallels/parallels_sdk.c | 2 +-
> src/phyp/phyp_driver.c | 2 +-
> src/qemu/qemu_command.c | 2 +-
> src/vbox/vbox_common.c | 8 ++++----
> src/vmx/vmx.c | 2 +-
> src/xenconfig/xen_sxpr.c | 2 +-
> src/xenconfig/xen_xl.c | 2 +-
> src/xenconfig/xen_xm.c | 2 +-
> tests/openvzutilstest.c | 2 +-
> tests/securityselinuxtest.c | 2 +-
> 13 files changed, 16 insertions(+), 16 deletions(-)
>
ACK (and hopefully no one snuck a new one it - too bad there wasn't an
"easy" way to make a check rule on this)
John
More information about the libvir-list
mailing list