[PATCH] net: Fix qemu crash when hot-pluging a vhost-net failed.

2022-12-05 Thread Yangming via
Dear all: I found a bug of qemu: hot-pluging a vhost-net may cause virtual machine crash in following steps: 1. Starting a vm without any net device. 2. Hot-pluging 70 memory devices. 3. Hot-pluging a vhost-net device. After the 3rd step, the qemu crashed with following messages: vhost backend

Re: [PATCH] net: Fix qemu crash when hot-pluging a vhost-net failed.

2022-12-04 Thread Philippe Mathieu-Daudé
On 5/12/22 07:37, Jason Wang wrote: On Mon, Dec 5, 2022 at 2:23 PM Yangming wrote: Dear all: I found a bug of qemu: hot-pluging a vhost-net may cause virtual machine crash in following steps: 1. Starting a vm without any net device. 2. Hot-pluging 70 memory devices. 3. Hot-pluging a vhost-

Re: [PATCH] net: Fix qemu crash when hot-pluging a vhost-net failed.

2022-12-04 Thread Jason Wang
On Mon, Dec 5, 2022 at 2:23 PM Yangming wrote: > > Dear all: > > > > I found a bug of qemu: hot-pluging a vhost-net may cause virtual machine > crash in following steps: > 1. Starting a vm without any net device. > 2. Hot-pluging 70 memory devices. > 3. Hot-pluging a vhost-net device. > > > > Aft