a924d9d qemu: cgroup: Fix crash if starting nographics guest

Authored and Committed by crobinso 10 years ago
    qemu: cgroup: Fix crash if starting nographics guest
    
    We can dereference graphics[0] even if guest has no graphics device
    configured. I screwed this up in a216e6487255d3b65d97c7ec1fa5da63dbced902
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1014088
    
        
file modified
+3 -2