[libvirt] [PATCH python] Fix build with older libvirt versions

Ján Tomko jtomko at redhat.com
Thu Apr 19 15:03:37 UTC 2018


On Thu, Apr 19, 2018 at 03:35:33PM +0100, Daniel P. Berrangé wrote:
>The libvirt python module is supposed to build with historical versions
>of the API back to 0.9.1, which means all constants / methods must be
>
>  commit 314b2346df2d8e2d7d705b003c693b4fa0189bdf
>  Author: Edgar Kaziakhmedov <edgar.kaziakhmedov at virtuozzo.com>
>  Date:   Wed Feb 7 17:49:30 2018 +0300
>
>    Set hints for virPyDictToTypedParams
>
>    Predefine hints for all parameters possible to avoid wrong type
>    convert.
>
>This broke the build against any libvirt < 2.0.0
>
>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> libvirt-override.c | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180419/93669e79/attachment-0001.sig>


More information about the libvir-list mailing list