Message ID | 20211028043129.38871-1-peterx@redhat.com |
---|---|
Headers | show |
Series | pci/iommu: Fail early if vfio-pci detected before vIOMMU | expand |
On Thu, Oct 28, 2021 at 12:31:24PM +0800, Peter Xu wrote: > Note that patch 1-4 are cleanups for pci subsystem, and patch 5 is a fix to > fail early for mis-ordered qemu cmdline on vfio and vIOMMU. Logically they > should be posted separately and they're not directly related, however to make > it still correlated to v1 I kept them in the same patchset. > > In this version I used pre_plug() hook for q35 to detect the ordering issue as > Igor suggested, meanwhile it's done via object_resolve_path_type() rather than > scanning the pci bus as Michael suggested. > > Please review, thanks. Michael, Would you consider review/pick patches 1-4 first? The last patch needs further discussion, and I would like to address it separately in the future. Thanks,
On Tue, Nov 02, 2021 at 09:15:59AM +0800, Peter Xu wrote: > On Thu, Oct 28, 2021 at 12:31:24PM +0800, Peter Xu wrote: > > Note that patch 1-4 are cleanups for pci subsystem, and patch 5 is a fix to > > fail early for mis-ordered qemu cmdline on vfio and vIOMMU. Logically they > > should be posted separately and they're not directly related, however to make > > it still correlated to v1 I kept them in the same patchset. > > > > In this version I used pre_plug() hook for q35 to detect the ordering issue as > > Igor suggested, meanwhile it's done via object_resolve_path_type() rather than > > scanning the pci bus as Michael suggested. > > > > Please review, thanks. > > Michael, > > Would you consider review/pick patches 1-4 first? The last patch needs further > discussion, and I would like to address it separately in the future. > > Thanks, I did just that yesterday. > -- > Peter Xu