|
From: | Yangming |
Subject: | [PATCH] net: Fix qemu crash when hot-pluging a vhost-net failed. |
Date: | Mon, 5 Dec 2022 06:03:30 +0000 |
Dear all: I found a bug of qemu: hot-pluging a vhost-net may cause virtual machine crash in following steps: After the 3rd step, the qemu crashed with following messages: vhost backend memory slots limit is less than current number of present memory slots warning: vhost-net requested but could not be initialized qemu-system-x86_64: ../net/net.c:1106: net_client_init1: Assertion `nc' failed. 2022-12-05 03:14:08.794+0000: shutting down, reason=crashed This commit is used to fix the mentioned problem. It is based on commit a33c25399f9bc3dcf83064adeba2a82e61bf4608 of master branch. Kind regards. |
0001-net-net.c-do-not-assert-nc-as-hotplug-vhost-net-may-.patch
Description: 0001-net-net.c-do-not-assert-nc-as-hotplug-vhost-net-may-.patch
[Prev in Thread] | Current Thread | [Next in Thread] |