]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: cgroup: Fix crash if starting nographics guest
authorCole Robinson <crobinso@redhat.com>
Tue, 1 Oct 2013 11:55:19 +0000 (07:55 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 1 Oct 2013 15:22:18 +0000 (11:22 -0400)
commita924d9d083c215df6044387057c501d9aa338b96
tree8092e6d580ce2c32ccb06a61b601044f54426af0
parentf1bdcb2be92b5545d5c33485431d7129a8098cd9
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
src/qemu/qemu_cgroup.c