[libvirt] [PATCH 1/6] tests: Create a shared library with qemu driver

Peter Krempa pkrempa at redhat.com
Thu May 5 05:43:29 UTC 2016


On Wed, May 04, 2016 at 17:09:47 +0200, Jiri Denemark wrote:
> 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 <jdenemar at redhat.com>
> ---
>  tests/Makefile.am | 10 ++++++++++
>  1 file changed, 10 insertions(+)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160505/caa06a47/attachment-0001.sig>


More information about the libvir-list mailing list