Re: [Qemu-devel] [PATCH v5 2/2] hw/vfio/common: Fail on VFIO/HW nested paging detection

2019-08-30 Thread Alex Williamson
On Fri, 30 Aug 2019 10:06:56 +0200 Auger Eric wrote: > Hi Alex, > > On 8/29/19 8:14 PM, Alex Williamson wrote: > > On Thu, 29 Aug 2019 11:01:41 +0200 > > Eric Auger wrote: > > > >> As of today, VFIO only works along with vIOMMU supporting > >> caching mode. The SMMUv3 does not support this

Re: [Qemu-devel] [PATCH v5 2/2] hw/vfio/common: Fail on VFIO/HW nested paging detection

2019-08-30 Thread Auger Eric
Hi Alex, On 8/29/19 8:14 PM, Alex Williamson wrote: > On Thu, 29 Aug 2019 11:01:41 +0200 > Eric Auger wrote: > >> As of today, VFIO only works along with vIOMMU supporting >> caching mode. The SMMUv3 does not support this mode and >> requires HW nested paging to work properly with VFIO. >> >>

Re: [Qemu-devel] [PATCH v5 2/2] hw/vfio/common: Fail on VFIO/HW nested paging detection

2019-08-29 Thread Alex Williamson
On Thu, 29 Aug 2019 11:01:41 +0200 Eric Auger wrote: > As of today, VFIO only works along with vIOMMU supporting > caching mode. The SMMUv3 does not support this mode and > requires HW nested paging to work properly with VFIO. > > So any attempt to run a VFIO device protected by such IOMMU >

[Qemu-devel] [PATCH v5 2/2] hw/vfio/common: Fail on VFIO/HW nested paging detection

2019-08-29 Thread Eric Auger
As of today, VFIO only works along with vIOMMU supporting caching mode. The SMMUv3 does not support this mode and requires HW nested paging to work properly with VFIO. So any attempt to run a VFIO device protected by such IOMMU would prevent the assigned device from working and at the moment the