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(a)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(a)redhat.com>
---
libvirt-override.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano