Add domain name to libvirt reconnect error
In order to be able to connect between the error,
and the vm that was triggering it, in the virt-handler side.
@@ -334,7 +334,7 @@ func (n *Notifier) StartDomainNotifier(
eventCallback(domainConn, domainCache, libvirtEvent{}, n, deleteNotificationSent,
interfaceStatuses, guestOsInfo)
case <-reconnectChan:
- n.SendDomainEvent(newWatchEventError(fmt.Errorf("Libvirt reconnect")))
+ n.SendDomainEvent(newWatchEventError(fmt.Errorf("Libvirt reconnect, domain %s", domainName)))
}
}
}()
