]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: use virDomainDiskDefNew to instead of VIR_ALLOC
authorPeter Krempa <pkrempa@redhat.com>
Mon, 18 Feb 2019 09:12:24 +0000 (10:12 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 18 Feb 2019 09:27:30 +0000 (10:27 +0100)
commit84966103bedae06fc1a26d1b485bf12ba7667f2e
treec53bc2e8879aa6a683a53c560185da00ae94e1cc
parent0624ac3fa846b3e2a8e70e4cc2fd8477710cd76d
bhyve: use virDomainDiskDefNew to instead of VIR_ALLOC

Use the proper function to allocate a disk definition.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/bhyve/bhyve_parse_command.c