Re: [Qemu-devel] [PATCH v2 0/2] vfio: blacklist legacy virtio devices

2016-08-29 Thread Michael S. Tsirkin
On Tue, Aug 30, 2016 at 11:16:25AM +0800, Jason Wang wrote: > > > On 2016年08月30日 10:27, Michael S. Tsirkin wrote: > > Legacy virtio devices always bypassed an IOMMU, so using them with vfio was > > never safe. > > And it actually won't work since GPA is assumed in the device. So I'm not > sure

Re: [Qemu-devel] [PATCH v2 0/2] vfio: blacklist legacy virtio devices

2016-08-29 Thread Michael S. Tsirkin
On Tue, Aug 30, 2016 at 11:16:25AM +0800, Jason Wang wrote: > > > On 2016年08月30日 10:27, Michael S. Tsirkin wrote: > > Legacy virtio devices always bypassed an IOMMU, so using them with vfio was > > never safe. > > And it actually won't work since GPA is assumed in the device. So I'm not > sure

Re: [Qemu-devel] [PATCH v2 0/2] vfio: blacklist legacy virtio devices

2016-08-29 Thread Jason Wang
On 2016年08月30日 10:27, Michael S. Tsirkin wrote: Legacy virtio devices always bypassed an IOMMU, so using them with vfio was never safe. And it actually won't work since GPA is assumed in the device. So I'm not sure this is must since we should get a IOMMU fault in this case. This adds

Re: [Qemu-devel] [PATCH v2 0/2] vfio: blacklist legacy virtio devices

2016-08-29 Thread Jason Wang
On 2016年08月30日 10:27, Michael S. Tsirkin wrote: Legacy virtio devices always bypassed an IOMMU, so using them with vfio was never safe. And it actually won't work since GPA is assumed in the device. So I'm not sure this is must since we should get a IOMMU fault in this case. This adds