|
From: | Jason Wang |
Subject: | Re: [Qemu-devel] [PATCH V3] vhost_net: don't set backend for the uninitialized virtqueue |
Date: | Thu, 25 Apr 2019 11:00:04 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 2019/4/24 下午9:51, Michael S. Tsirkin wrote:
On Tue, Apr 09, 2019 at 01:58:50PM +0800, Jason Wang wrote:We used to set backend unconditionally, this won't work for some guests (e.g windows driver) who may not initialize all virtqueues. For kernel backend, this will fail since it may try to validate the rings during setting backend. Fixing this by simply skipping the backend set when we find desc is not ready. Signed-off-by: Jason Wang<address@hidden>Reviewed-by: Michael S. Tsirkin<address@hidden>
Applied. Thanks
[Prev in Thread] | Current Thread | [Next in Thread] |