fe7aad2 ovirt: Fix initial connection

Authored and Committed by teuf 5 years ago
    ovirt: Fix initial connection
    
    After commit df42f78d46 "remote-viewer: factor our
    remote_viewer_initial_connect()", the initial connection code only gets
    run in the !ovirt case. When ovirt is in use, the initial connection
    never happens, meaning all we get when using ovirt:// is a blank
    virt-viewer window.
    
    This commit fixes that by moving creation of the ovirt session to
    remote_viewer_initial_connect, and unconditionnally calling the
    remote_viewer_initial_connect rather than only doing it in the !ovirt
    case.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1655537
    
    Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
    
        
file modified
+14 -15