[PATCH 0/2] vhost: fix physical address mapping
xuan.ding at intel.com
xuan.ding at intel.com
Fri Jan 14 17:11:58 CET 2022
From: Xuan Ding <xuan.ding at intel.com>
This patchset fixes the issue of incorrect DMA mapping in PA mode.
Due to the ambiguity of host_phys_addr naming in the guest page
struct, rename it to host_iova.
Xuan Ding (2):
vhost: fix physical address mapping
vhost: rename field in guest page struct
lib/vhost/vhost.h | 11 ++--
lib/vhost/vhost_user.c | 130 ++++++++++++++++++++---------------------
lib/vhost/virtio_net.c | 11 ++--
3 files changed, 75 insertions(+), 77 deletions(-)
--
2.17.1
More information about the dev
mailing list