On 10/21/22 07:48, Markus Armbruster wrote:
Laurent Vivier <lviv...@redhat.com> writes:
The netdev reports NETDEV_STREAM_CONNECTED event when the backend
is connected, and NETDEV_STREAM_DISCONNECTED when it is disconnected.
Use cases?
This is asked by Stefano Brivio to allow libvirt to detect if connection to passt is lost
and to restart passt.
I have also a patch to add a "reconnect=seconds" option, but I didn't want to add it to
this series.
Could similar event signalling be useful for other kinds of netdev
backends?
I was wondering, but it becomes more complicated to be generic.
Thanks,
Laurent