From: Longpeng <longpe...@huawei.com> The generic vhost-vdpa device and the commit a585fad26b ("vdpa: request iova_range only once") are merged in the same pull request, and the later would cause the generic vhost-vdpa device work improperly.
Patch 1 fixes the problem and patch 2 hardens the error path of vdpa/net. Longpeng (Mike) (2): vdpa-dev: get iova range explicitly vdpa: harden the error path if get_iova_range failed hw/virtio/vdpa-dev.c | 9 +++++++++ hw/virtio/vhost-vdpa.c | 7 +++++++ include/hw/virtio/vhost-vdpa.h | 2 ++ net/vhost-vdpa.c | 16 +++++++--------- 4 files changed, 25 insertions(+), 9 deletions(-) -- 2.23.0