Re: [PATCH V1] virtio/vhost-user: fix qemu abort when hotunplug vhost-user-net device

2024-09-18 Thread Zhenguo Yao
yaozhenguo 于2024年9月13日周五 16:08写道: > > During the process of hot-unplug in vhost-user-net NIC, vhost_user_cleanup > may add same rcu node to rcu list. Function calls are as follows: > > vhost_user_cleanup > ->vhost_user_host_notifier_remove > ->call_rcu(n, vhost_user_host_notifier_free,

Re: [PATCH] virtio/vhost-user: fix qemu crash when hotunplug vhost-user-net device

2024-09-10 Thread Zhenguo Yao
Stefano Garzarella 于2024年9月3日周二 18:05写道: > > On Wed, Aug 28, 2024 at 02:50:57PM GMT, Zhenguo Yao wrote: > >I am very sorry that my previous description was not accurate. Below I > >will describe the steps to reproduce this problem and my analysis in > >detail.The conditi

Re: [PATCH] virtio/vhost-user: fix qemu crash when hotunplug vhost-user-net device

2024-08-27 Thread Zhenguo Yao
I am very sorry that my previous description was not accurate. Below I will describe the steps to reproduce this problem and my analysis in detail.The conditions for reproducing this problem are quite demanding. First, let me introduce my environment. I use DPDK vdpa to drive DPU to implement a vho

Re: [PATCH] virtio/vhost-user: fix qemu crash when hotunplug vhost-user-net device

2024-08-26 Thread Zhenguo Yao
Hi Alex: Any update? yaozhenguo 于2024年8月7日周三 17:55写道: > > When hotplug and hotunplug vhost-user-net device quickly. > qemu will crash. BT is as below: > > 0 __pthread_kill_implementation () at /usr/lib64/libc.so.6 > 1 raise () at /usr/lib64/libc.so.6 > 2 abort () at /usr/lib64/libc.so.6 >

Re: [PATCH] qio: fix qemu crash when live migration

2024-08-09 Thread Zhenguo Yao
Hi Daniel. Sorry, I don't notice that this is a fixed issue by b8a7f51f59e28d5a8e0c07ed3919cc9695560ed2(chardev/char-socket: set s->listener = NULL in char_socket_finalize). the following process can lead this issue: char_socket_finalize->object_unref(OBJECT(s->listener)); // free io_source, free