78a09aa graphics: resolve address for listen type network in qemu_process

Authored and Committed by phrdina 7 years ago
    graphics: resolve address for listen type network in qemu_process
    
    Both VNC and SPICE requires the same code to resolve address for listen
    type network.  Remove code duplication and create a new function that
    will be used in qemuProcessSetupGraphics().
    
    Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
    
        
file modified
+12 -91
file modified
+46 -2