ccafa32 ovirt: Fail gracefully when hostname is missing

Authored and Committed by teuf 9 years ago
    ovirt: Fail gracefully when hostname is missing
    
    When parsing info returned by oVirt REST API, the hostname should be
    present. However, I recently run remote-viewer against a buggy oVirt
    instance where the hostname was missing. This commit handles better this
    situation by displaying an error message and exiting.
    
        
file modified
+7 -0