qemu: Fix old tcp:host URIs more cleanly
qemu: Fix old tcp:host URIs more cleanly

For compatibility with old libvirt we need to support both tcp:host and
tcp://host migration URIs. Let's make the code that parses them a bit
cleaner.

Signed-off-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>

zippy2/libvirt,datto/libvirt,shugaoye/libvirt,VenkatDatta/libvirt,eskultety/libvirt,jardasgit/libvirt,zippy2/libvirt,datto/libvirt,rlaager/libvirt,rlaager/libvirt,eskultety/libvirt,andreabolognani/libvirt,shugaoye/libvirt,taget/libvirt,shugaoye/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,elmarco/libvirt,andreabolognani/libvirt,zippy2/libvirt,nertpinx/libvirt,jfehlig/libvirt,andreabolognani/libvirt,crobinso/libvirt,nertpinx/libvirt,libvirt/libvirt,olafhering/libvirt,rlaager/libvirt,jardasgit/libvirt,elmarco/libvirt,crobinso/libvirt,andreabolognani/libvirt,agx/libvirt,jfehlig/libvirt,shugaoye/libvirt,VenkatDatta/libvirt,datto/libvirt,olafhering/libvirt,crobinso/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,elmarco/libvirt,eskultety/libvirt,taget/libvirt,agx/libvirt,olafhering/libvirt,agx/libvirt,elmarco/libvirt,agx/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,taget/libvirt,andreabolognani/libvirt,jfehlig/libvirt,datto/libvirt,datto/libvirt,rlaager/libvirt,fabianfreyer/libvirt,taget/libvirt,libvirt/libvirt,eskultety/libvirt,elmarco/libvirt,fabianfreyer/libvirt,zippy2/libvirt,nertpinx/libvirt,jardasgit/libvirt,rlaager/libvirt,taget/libvirt,eskultety/libvirt,olafhering/libvirt,jfehlig/libvirt,jardasgit/libvirt,libvirt/libvirt,crobinso/libvirt,jardasgit/libvirt,agx/libvirt,libvirt/libvirt