]> xenbits.xensource.com Git - xen.git/commit
PCI: move pdev_list field to common structure
authorJan Beulich <jbeulich@suse.com>
Thu, 6 Jun 2019 09:14:58 +0000 (11:14 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 6 Jun 2019 09:14:58 +0000 (11:14 +0200)
commitf3f862f9b720abd6795986651a5b10e1a7e05f81
treecc169be315ac47805a9fbf4cdaeba24831a97dde
parentf6b00177c38068eb2ad1b00f62a3db4a28e18a9c
PCI: move pdev_list field to common structure

Its management shouldn't be arch-specific, and in particular there
should be no need for special precautions when creating the special
domains.

At this occasion
- correct parenthesization of for_each_pdev(),
- stop open-coding for_each_pdev() in vPCI code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domain.c
xen/arch/x86/mm.c
xen/common/domain.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/pci.c
xen/drivers/passthrough/vtd/iommu.c
xen/drivers/vpci/header.c
xen/drivers/vpci/msi.c
xen/include/asm-x86/domain.h
xen/include/xen/pci.h
xen/include/xen/sched.h