qemu: Introduce qemuBuildControllersByTypeCommandLine
qemu: Introduce qemuBuildControllersByTypeCommandLine

Now that the inner loop does not require any other variables,
it can be easily separated. Apart from reducing the indentation
level this will allow it to be called from different code paths.

Signed-off-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>
Reviewed-by: Cole Robinson <7cd45ff6ad1fb7cf556a02797d774247851499f8@redhat.com>

olafhering/libvirt,zippy2/libvirt,jardasgit/libvirt,jfehlig/libvirt,jfehlig/libvirt,zippy2/libvirt,eskultety/libvirt,crobinso/libvirt,nertpinx/libvirt,jardasgit/libvirt,olafhering/libvirt,libvirt/libvirt,olafhering/libvirt,fabianfreyer/libvirt,eskultety/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,jardasgit/libvirt,eskultety/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,olafhering/libvirt,eskultety/libvirt,andreabolognani/libvirt,eskultety/libvirt,nertpinx/libvirt,nertpinx/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,jfehlig/libvirt,libvirt/libvirt,andreabolognani/libvirt,zippy2/libvirt,libvirt/libvirt,libvirt/libvirt,zippy2/libvirt