[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] Fix the init path of generic vhost-vdpa device
From: |
Longpeng(Mike) |
Subject: |
[PATCH 0/2] Fix the init path of generic vhost-vdpa device |
Date: |
Sat, 24 Dec 2022 19:48:46 +0800 |
From: Longpeng <longpeng2@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
- [PATCH 0/2] Fix the init path of generic vhost-vdpa device,
Longpeng(Mike) <=