[libvirt] [PATCH] qemuDomainShutdownFlags: check for domain activeness prior to guest presence