[libvirt] [PATCH v4] python: refactoring virTypedParameter conversion for NUMA tuning APIs