Re: [Qemu-devel] [PATCH v2 0/4] intel_iommu: Do sanity check of vfio-pci earlier

2019-09-16 Thread Peter Xu
On Mon, Sep 16, 2019 at 03:58:35PM +0800, Peter Xu wrote: > v2: > - rebase to master [Eric] > - add r-bs for Eric > - remove RFC tag No... this is the new cover letter with the old commits... I'll post again. Sorry for the noise. -- Peter Xu

[Qemu-devel] [PATCH v2 0/4] intel_iommu: Do sanity check of vfio-pci earlier

2019-09-16 Thread Peter Xu
v2: - rebase to master [Eric] - add r-bs for Eric - remove RFC tag The VT-d code has some defects, one of them is that we cannot detect the misuse of vIOMMU and vfio-pci early enough. For example, logically this is not allowed: -device intel-iommu,caching-mode=off \ -device vfio-pci,host=05: