[libvirt] [PATCH v2 2/6] Define internal APIs for managing identities