mbox series

[0/2] vhost: fix physical address mapping

Message ID 20220114161200.114422-1-xuan.ding@intel.com (mailing list archive)
Headers show
Series vhost: fix physical address mapping | expand

Message

Ding, Xuan Jan. 14, 2022, 4:11 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.

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(-)