]> xenbits.xensource.com Git - libvirt.git/commit
qemuxml2argvtest: Set more fake drivers
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 12 Jul 2018 07:08:04 +0000 (09:08 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Aug 2018 08:13:17 +0000 (10:13 +0200)
commit5c9277b6dd4c2dc5de5a996f56f45ba36e529373
tree05e16e87725c72abeba4f79f3885ea25827451b3
parent1315be993693cf4efe46331c6af640f040e076e6
qemuxml2argvtest: Set more fake drivers

So far we are setting only fake secret and storage drivers.
Therefore if the code wants to call a public NWFilter API (like
qemuBuildInterfaceCommandLine() and qemuBuildNetCommandLine() are
doing) the virGetConnectNWFilter() function will try to actually
spawn session daemon because there's no connection object set to
handle NWFilter driver.

Even though I haven't experienced the same problem with the rest
of the drivers (interface, network and node dev), the reasoning
above can be applied to them as well.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
tests/qemuxml2argvtest.c