[libvirt] [PATCH 1/2] python: Add new helper functions for python to C integral conversion