[libvirt] [PATCH 7/7] remote: Use virDomainEventState helpers