]> git.ipfire.org Git - thirdparty/libvirt.git/commit
VMX: Create virVMXFormatDisk() from HD and CD-ROM
authorDoug Goldstein <cardoe@cardoe.com>
Wed, 28 Aug 2013 18:37:06 +0000 (13:37 -0500)
committerDoug Goldstein <cardoe@cardoe.com>
Mon, 2 Sep 2013 04:11:50 +0000 (23:11 -0500)
commit68b9fa64230542fb293255e7cbca8d62ea948d11
treee895f3b81b0c39706f2223eadae0436886bdaec7
parent85240daba22e3a1e7f2068da0d150bfe6d97e332
VMX: Create virVMXFormatDisk() from HD and CD-ROM

virVMXFormatHardDisk() and virVMXFormatCDROM() duplicated a lot of code
from each other and made a lot of nested if checks to build each part of
the VMX file. This hopefully simplifies the code path while combining
the two functions with no net difference.
src/libvirt_vmx.syms
src/vmx/vmx.c
src/vmx/vmx.h