OSDN Git Service

vhost-user: Skip unnecessary duplicated VHOST_USER_ADD/REM_MEM_REG requests
authorMinghao Yuan <yuanmh12@chinatelecom.cn>
Mon, 23 Jan 2023 12:21:19 +0000 (20:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 28 Jan 2023 11:21:30 +0000 (06:21 -0500)
commit920c184fa924da2890a1e9050282d01608291a34
tree1a3f3789d357b5c7169980bcbe60381c6b9636e5
parent4d6ee555ef649d00805a0730aa2e22fe152e90f0
vhost-user: Skip unnecessary duplicated VHOST_USER_ADD/REM_MEM_REG requests

The VHOST_USER_ADD/REM_MEM_REG requests should be categorized into
non-vring specific messages, and should be sent only once.

Signed-off-by: Minghao Yuan <yuanmh12@chinatelecom.cn>
Message-Id: <20230123122119.194347-1-yuanmh12@chinatelecom.cn>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user.c