[libvirt] [PATCH 1/2] virsh: Add check for domain state before attempting resume