[libvirt] [PATCH v4 03/15] Add internal API