qemu_process: graphics: extract port allocation into function
qemu_process: graphics: extract port allocation into function

Signed-off-by: Pavel Hrdina <d4772d05997b8abf035041e3b4f4996380ea7e7a@redhat.com>

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