[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 0/5] virtio-iommu: VFIO integration
From: |
Bharat Bhushan |
Subject: |
Re: [Qemu-devel] [PATCH v4 0/5] virtio-iommu: VFIO integration |
Date: |
Wed, 27 Sep 2017 06:46:18 +0000 |
Hi Peter,
While vfio with virtio-iommu I observed one issue, When virtio-iommu device
exists but guest kernel does not have virtio-iommu driver (not enabled in
Config) then IOMMU faults are reported on host.
This is because no mapping is created in IOMMU, not even default guest-physical
to real-physical. While looking at vfio_listener_region_add(), it does not
create initial mapping in IOMMU and relies on guest to create mapping. Is this
something known or I am missing something?
Thanks
-Bharat
> -----Original Message-----
> From: Bharat Bhushan [mailto:address@hidden
> Sent: Wednesday, September 27, 2017 12:03 PM
> To: address@hidden; address@hidden;
> address@hidden; address@hidden; address@hidden;
> address@hidden; address@hidden
> Cc: address@hidden; address@hidden; address@hidden;
> address@hidden; address@hidden; address@hidden;
> address@hidden; address@hidden;
> address@hidden; Bharat Bhushan <address@hidden>
> Subject: [PATCH v4 0/5] virtio-iommu: VFIO integration
>
> This patch series integrates VFIO/VHOST with virtio-iommu.
>
> This version is mainly about rebasing on v4 version on virtio-iommu device
> framework from Eric Augur and addresing review comments.
>
> This patch series allows PCI pass-through using virtio-iommu.
>
> This series is based on:
> - virtio-iommu kernel driver by Jean-Philippe Brucker
> [1] [RFC] virtio-iommu version 0.4
> git://linux-arm.org/virtio-iommu.git branch viommu/v0.4
>
> - virtio-iommu device emulation by Eric Augur.
> [RFC v4 00/16] VIRTIO-IOMMU device
> https://github.com/eauger/qemu/tree/v2.10.0-virtio-iommu-v4
>
> Changes are available at : https://github.com/bharaty/qemu.git virtio-
> iommu-vfio-integration-v4
>
> v3->v4:
> - Rebase to v4 version from Eric
> - Fixes from Eric with DPDK in VM
> - Logical division in multiple patches
>
> v2->v3:
> - This series is based on "[RFC v3 0/8] VIRTIO-IOMMU device"
> Which is based on top of v2.10-rc0 that
> - Fixed issue with two PCI devices
> - Addressed review comments
>
> v1->v2:
> - Added trace events
> - removed vSMMU3 link in patch description
>
> Bharat Bhushan (5):
> target/arm/kvm: Translate the MSI doorbell in kvm_arch_fixup_msi_route
> virtio-iommu: Add iommu notifier for map/unmap
> virtio-iommu: Call iommu notifier for attach/detach
> virtio-iommu: add iommu replay
> virtio-iommu: add iommu notifier memory-region
>
> hw/virtio/trace-events | 5 ++
> hw/virtio/virtio-iommu.c | 181
> ++++++++++++++++++++++++++++++++++++++-
> include/hw/virtio/virtio-iommu.h | 6 ++
> target/arm/kvm.c | 27 ++++++
> target/arm/trace-events | 3 +
> 5 files changed, 219 insertions(+), 3 deletions(-)
>
> --
> 1.9.3
- [Qemu-devel] [PATCH v4 0/5] virtio-iommu: VFIO integration, Bharat Bhushan, 2017/09/27
- [Qemu-devel] [PATCH v4 1/5] target/arm/kvm: Translate the MSI doorbell in kvm_arch_fixup_msi_route, Bharat Bhushan, 2017/09/27
- [Qemu-devel] [PATCH v4 2/5] virtio-iommu: Add iommu notifier for map/unmap, Bharat Bhushan, 2017/09/27
- [Qemu-devel] [PATCH v4 4/5] virtio-iommu: add iommu replay, Bharat Bhushan, 2017/09/27
- [Qemu-devel] [PATCH v4 3/5] virtio-iommu: Call iommu notifier for attach/detach, Bharat Bhushan, 2017/09/27
- [Qemu-devel] [PATCH v4 5/5] virtio-iommu: add iommu notifier memory-region, Bharat Bhushan, 2017/09/27
- Re: [Qemu-devel] [PATCH v4 0/5] virtio-iommu: VFIO integration,
Bharat Bhushan <=
- Re: [Qemu-devel] [Qemu-arm] [PATCH v4 0/5] virtio-iommu: VFIO integration, Linu Cherian, 2017/09/27
- Re: [Qemu-devel] [Qemu-arm] [PATCH v4 0/5] virtio-iommu: VFIO integration, Linu Cherian, 2017/09/27