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

2024-11-25 Thread Zuo,Boqun
On Mon, Nov 25, 2024 11:53 AM Jason Wang wrote: > On Fri, Nov 15, 2024 at 4:03 PM 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

RE: vhost_net: fix assertion triggered by batch of host notifiers processing

2024-11-22 Thread Zuo,Boqun
Ping Regards, Zuo boqun

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

2024-11-15 Thread Zuo boqun via
that the for loop to release ioeventfd should start from i+1, not i, because the i-th ioeventfd has already been released in vhost_dev_disable_notifiers_nvqs(). Fixes: 6166799f6 ("vhost_net: configure all host notifiers in a single MR transaction") Signed-off-by: Zuo Boqun Report

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

2024-11-14 Thread Zuo,Boqun
m_mem_ioeventfd_del: error deleting ioeventfd: Bad file descriptor > > > >This patch moves virtio_device_grab_ioeventfd() out of the batch to fix > >this problem. > > > >Fixes: 6166799f6 ("vhost_net: configure all host notifiers in a single

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

2024-11-11 Thread Zuo boqun via
: 6166799f6 ("vhost_net: configure all host notifiers in a single MR transaction") Reported-by: Gao Shiyuan Signed-off-by: Zuo Boqun --- hw/net/vhost_net.c | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/hw/net/vhost_net.c b/hw/net/vhost_n

Re: [PATCH 1/1] virtio-pci: fix memory_region_find for VirtIOPCIRegion's MR

2024-10-07 Thread Zuo,Boqun
irtio-pci-isr-virtio-blk > > 00a000402000-00a000402fff (prio 0, i/o): virtio-pci-device- > virtio-blk > > 00a000403000-00a000403fff (prio 0, i/o): > > virtio-pci-notify-virtio-blk > > > > Resolves: https://gitlab.com/qemu-project/qemu/-/iss