[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v13 17/17] net: stream: add QAPI events to report connection state



On 10/21/22 07:48, Markus Armbruster wrote:
Laurent Vivier <lvivier@xxxxxxxxxx> 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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.