]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: don't register NULL driver
authorMartin Kletzander <mkletzan@redhat.com>
Thu, 30 Oct 2014 08:56:26 +0000 (09:56 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 3 Nov 2014 15:43:22 +0000 (16:43 +0100)
commit55bbc342183a721170be641efac6166bb0cf65d9
treea7e9b295cc7597121b8217705a9479e421632ae2
parent11a48758a7d6c946062c130b6186ae3eadd58e39
vbox: don't register NULL driver

We were missing check for the fact that the storage driver was found and
in case there is no vbox storage driver available, daemon raised the
following error each start:

  error : virRegisterStorageDriver:592 : driver in
  virRegisterStorageDriver must not be NULL

Fixing this makes the condition unified with networkDriver registration
in vbox as well.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/vbox/vbox_driver.c