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
Ping
Regards,
Zuo boqun
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
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
: 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
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