[libvirt PATCH v3 07/10] src: add API to determine if current identity is a system identity