Re: [PATCH] vhost_net: fix assertion triggered by batch of host notifiers processing

2024-11-14 Thread Stefano Garzarella
On Thu, Nov 14, 2024 at 11:08:35AM +, Zuo,Boqun wrote: On Thursday, November 14, 2024 6:54 PM, Stefano Garzarella wrote: > >When the backend of vhost_net restarts during the vm is running, >vhost_net is stopped and started. The virtio_device_grab_ioeventfd() >fucntion in >vhost_net_enable_no

Re: [PATCH] vhost_net: fix assertion triggered by batch of host notifiers processing

2024-11-14 Thread Zuo,Boqun
On Thursday, November 14, 2024 6:54 PM, Stefano Garzarella wrote: > > > >When the backend of vhost_net restarts during the vm is running, > >vhost_net is stopped and started. The virtio_device_grab_ioeventfd() > >fucntion in > >vhost_net_enable_notifiers() will result in a call to > >virtio_bus_set

Re: [PATCH] vhost_net: fix assertion triggered by batch of host notifiers processing

2024-11-14 Thread Stefano Garzarella
On Mon, Nov 11, 2024 at 04:57:25PM +0800, Zuo boqun wrote: From: zuoboqun When the backend of vhost_net restarts during the vm is running, vhost_net is stopped and started. The virtio_device_grab_ioeventfd() fucntion in vhost_net_enable_notifiers() will result in a call to virtio_bus_set_host_n

[PATCH] vhost_net: fix assertion triggered by batch of host notifiers processing

2024-11-11 Thread Zuo boqun via
From: zuoboqun When the backend of vhost_net restarts during the vm is running, vhost_net is stopped and started. The virtio_device_grab_ioeventfd() fucntion in vhost_net_enable_notifiers() will result in a call to virtio_bus_set_host_notifier()(assign=false). And now virtio_device_grab_ioeventf