[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] hw/virtio: fix vhost user fails to startup w
From: |
Jens Freimann |
Subject: |
Re: [Qemu-devel] [PATCH v2] hw/virtio: fix vhost user fails to startup when MQ |
Date: |
Fri, 5 May 2017 09:26:46 +0200 |
User-agent: |
NeoMutt/20170421 (1.8.2) |
On Fri, May 05, 2017 at 12:25:36AM +0800, Zhiyong Yang wrote:
> Qemu2.7~2.9 and vhost user for dpdk 17.02 release work together
> to cause failures of new connection when negotiating to set MQ.
> (one queue pair works well).
> Because there exist some bugs in qemu code when introducing
> VHOST_USER_PROTOCOL_F_REPLY_ACK to qemu. When vhost_user_set_mem_table
> is invoked to deal with the vhost message VHOST_USER_SET_MEM_TABLE
> for the second time, qemu indeed doesn't send the messge (The message
> needs to be sent only once)but still will be waiting for dpdk's reply
> ack, then, qemu is always freezing, while DPDK is always waiting for
> next vhost message from qemu.
> The patch aims to fix the bug, MQ can work well.
> The same bug is found in function vhost_user_net_set_mtu, it is fixed
> at the same time.
> DPDK related patch is as following:
> http://www.dpdk.org/dev/patchwork/patch/23955/
>
> Signed-off-by: Zhiyong Yang <address@hidden>
Tested-by: Jens Freimann <address@hidden>