]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Refactor code extracted to qemuBuildDriveSourceStr
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jul 2016 12:33:57 +0000 (14:33 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Jul 2016 11:33:10 +0000 (13:33 +0200)
commit1575f3e8d32b6049ec399cfb54ab36f4d0a0cb00
tree7debf58e71eb1b1dd0bc84a2372a48d2bd465cf8
parent3678d42705b76e8e47012cf0b8e23053598a2f5e
qemu: command: Refactor code extracted to qemuBuildDriveSourceStr

Avoid a large block by tweaking the condition skipping empty drives and
split up the switch containing two branches having different purpose.
src/qemu/qemu_command.c