mbox

[v2,0/2] vhost: fix async address mapping

Message ID 20220119151016.9970-1-xuan.ding@intel.com (mailing list archive)
Headers

Message

Ding, Xuan Jan. 19, 2022, 3:10 p.m. UTC
  From: Xuan Ding <xuan.ding@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.

v2:
* Change the order of patch.

Xuan Ding (2):
  vhost: rename field in guest page struct
  vhost: fix physical address mapping

 lib/vhost/vhost.h      |  11 ++--
 lib/vhost/vhost_user.c | 130 ++++++++++++++++++++---------------------
 lib/vhost/virtio_net.c |  11 ++--
 3 files changed, 75 insertions(+), 77 deletions(-)