qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 0/8] Shared Virtual Memory virtualization fo


From: Xiao Guangrong
Subject: Re: [Qemu-devel] [RFC PATCH 0/8] Shared Virtual Memory virtualization for VT-d
Date: Mon, 8 May 2017 12:09:42 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0


Hi Liu Yi,

I haven't started to read the code yet, however, could you
detail more please? It emulates a SVM capable iommu device in
a VM? Or It speeds up device's DMA access in a VM? Or it is a
new facility introduced for a VM? Could you please add a bit
more for its usage?

Thanks!

On 04/26/2017 06:11 PM, Liu, Yi L wrote:
Hi,

This patchset introduces SVM virtualization for intel_iommu in
IOMMU/VFIO. The total SVM virtualization for intel_iommu touched
Qemu/IOMMU/VFIO.

Another patchset would change the Qemu. It is "[RFC PATCH 0/20] Qemu:
Extend intel_iommu emulator to support Shared Virtual Memory"

In this patchset, it adds two new IOMMU APIs and their implementation
in intel_iommu driver. In VFIO, it adds two IOCTL cmd attached on
container->fd to propagate data from QEMU to kernel space.

[Patch Overview]
* 1 adds iommu API definition for binding guest PASID table
* 2 adds binding PASID table API implementation in VT-d iommu driver
* 3 adds iommu API definition to do IOMMU TLB invalidation from guest
* 4 adds IOMMU TLB invalidation implementation in VT-d iommu driver
* 5 adds VFIO IOCTL for propagating PASID table binding from guest
* 6 adds processing of pasid table binding in vfio_iommu_type1
* 7 adds VFIO IOCTL for propagating IOMMU TLB invalidation from guest
* 8 adds processing of IOMMU TLB invalidation in vfio_iommu_type1

Best Wishes,
Yi L


Jacob Pan (3):
   iommu: Introduce bind_pasid_table API function
   iommu/vt-d: add bind_pasid_table function
   iommu/vt-d: Add iommu do invalidate function

Liu, Yi L (5):
   iommu: Introduce iommu do invalidate API function
   VFIO: Add new IOTCL for PASID Table bind propagation
   VFIO: do pasid table binding
   VFIO: Add new IOCTL for IOMMU TLB invalidate propagation
   VFIO: do IOMMU TLB invalidation from guest

  drivers/iommu/intel-iommu.c     | 146 ++++++++++++++++++++++++++++++++++++++++
  drivers/iommu/iommu.c           |  32 +++++++++
  drivers/vfio/vfio_iommu_type1.c |  98 +++++++++++++++++++++++++++
  include/linux/dma_remapping.h   |   1 +
  include/linux/intel-iommu.h     |  11 +++
  include/linux/iommu.h           |  47 +++++++++++++
  include/uapi/linux/vfio.h       |  26 +++++++
  7 files changed, 361 insertions(+)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]