[libvirt] [PATCH] qemu: Check driver is initialized up front, to avoid segfault.

Cole Robinson crobinso at redhat.com
Sun Jul 12 00:37:25 UTC 2009


Daniel P. Berrange wrote:
> On Wed, Jul 08, 2009 at 05:59:22PM -0400, Cole Robinson wrote:
>> 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.
>>
>> Signed-off-by: Cole Robinson <crobinso at redhat.com>
>> ---
>>  src/qemu_driver.c |   14 ++++++--------
>>  1 files changed, 6 insertions(+), 8 deletions(-)
> 
> ACK
> 
> 

Pushed now.

Thanks,
Cole




More information about the libvir-list mailing list