tests: Create a shared library with qemu driver
tests: Create a shared library with qemu driver

Currently all qemu driver tests are statically linked to qemu driver
library, which makes it impossible to mock any API from the library.
This patch creates a shared qemu driver library which can be used
instead of the static one.

NB we can't use libvirt_driver_qemu.so directly since it is linked with
-module and it is supposed to be dlopened.

Signed-off-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>

libvirt/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,datto/libvirt,crobinso/libvirt,jfehlig/libvirt,olafhering/libvirt,taget/libvirt,nertpinx/libvirt,andreabolognani/libvirt,eskultety/libvirt,zippy2/libvirt,jardasgit/libvirt,zippy2/libvirt,jardasgit/libvirt,eskultety/libvirt,eskultety/libvirt,taget/libvirt,nertpinx/libvirt,jfehlig/libvirt,jardasgit/libvirt,taget/libvirt,jardasgit/libvirt,andreabolognani/libvirt,libvirt/libvirt,olafhering/libvirt,VenkatDatta/libvirt,taget/libvirt,VenkatDatta/libvirt,taget/libvirt,eskultety/libvirt,fabianfreyer/libvirt,crobinso/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,olafhering/libvirt,andreabolognani/libvirt,datto/libvirt,andreabolognani/libvirt,eskultety/libvirt,datto/libvirt,jfehlig/libvirt,crobinso/libvirt,VenkatDatta/libvirt,zippy2/libvirt,zippy2/libvirt,datto/libvirt,fabianfreyer/libvirt,libvirt/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,olafhering/libvirt,datto/libvirt,nertpinx/libvirt,jfehlig/libvirt,libvirt/libvirt,crobinso/libvirt