[libvirt] [PATCH v3 04/14] Implementation of the public API