Re: [libvirt] [PATCH 21/25] qemu: command: Refactor code extracted to qemuBuildDriveSourceStr

2016-07-26 Thread Ján Tomko
On Mon, Jul 25, 2016 at 08:12:06PM +0200, Peter Krempa wrote: 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 | 99 +++-- 1 file cha

[libvirt] [PATCH 21/25] qemu: command: Refactor code extracted to qemuBuildDriveSourceStr

2016-07-25 Thread Peter Krempa
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 | 99 +++-- 1 file changed, 46 insertions(+), 53 deletions(-) diff --git a/src/qemu