Re: [PATCH v2] net: vhost-user: add QAPI events to report connection state

2025-02-14 Thread Daniel P . Berrangé
On Fri, Feb 14, 2025 at 10:31:10AM +0100, Laurent Vivier wrote: > The netdev reports NETDEV_VHOST_USER_CONNECTED event when > the chardev is connected, and NETDEV_VHOST_USER_DISCONNECTED > when it is disconnected. > > The NETDEV_VHOST_USER_CONNECTED event includes the ChardevInfo > (label, filenam

[PATCH v2] net: vhost-user: add QAPI events to report connection state

2025-02-14 Thread Laurent Vivier
The netdev reports NETDEV_VHOST_USER_CONNECTED event when the chardev is connected, and NETDEV_VHOST_USER_DISCONNECTED when it is disconnected. The NETDEV_VHOST_USER_CONNECTED event includes the ChardevInfo (label, filename and frontend_open). This allows a system manager like libvirt to detect w