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