[libvirt] [PATCH v3 02/14] Add public API