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

Daniel P. Berrange berrange at redhat.com
Thu Jul 9 09:48:16 UTC 2009


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


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list