]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Check driver is initialized up front, to avoid segfault.
authorCole Robinson <crobinso@redhat.com>
Wed, 8 Jul 2009 21:59:22 +0000 (17:59 -0400)
committerCole Robinson <crobinso@redhat.com>
Fri, 10 Jul 2009 23:29:31 +0000 (19:29 -0400)
commitfe7cb869a8bb7d0d45913056b7962283c6c33183
tree6794f273fd15e38684dff4993c1d5acb3bf148c5
parentf272378d52e28b937219121e8b90883df8a10012
qemu: Check driver is initialized up front, to avoid segfault.

If the qemu_driver was not initialized (possibly due to an error on driver
startup), we can segfault if attempting to connect to the URI.
src/qemu_driver.c