pci: removed the is_express field since a uniform interface was inserted
according to Eduardo Habkost's commit fd3b02c8 all PCIEs now implement INTERFACE_PCIE_DEVICE so we don't need is_express field anymore. Devices that implements only INTERFACE_PCIE_DEVICE (is_express == 1) or devices that implements only INTERFACE_CONVENTIONAL_PCI_DEVICE (is_express == 0) where not affected by the change. The only devices that were affected are those that are hybrid and also had (is_express == 1) - therefor only: - hw/vfio/pci.c - hw/usb/hcd-xhci.c - hw/xen/xen_pt.c For those 3 I made sure that QEMU_PCI_CAP_EXPRESS is on in instance_init() Reviewed-by:Marcel Apfelbaum <marcel@redhat.com> Reviewed-by:
Eduardo Habkost <ehabkost@redhat.com> Signed-off-by:
Yoni Bettan <ybettan@redhat.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- docs/pcie_pci_bridge.txt 1 addition, 1 deletiondocs/pcie_pci_bridge.txt
- hw/block/nvme.c 0 additions, 1 deletionhw/block/nvme.c
- hw/net/e1000e.c 0 additions, 1 deletionhw/net/e1000e.c
- hw/pci-bridge/pcie_pci_bridge.c 0 additions, 1 deletionhw/pci-bridge/pcie_pci_bridge.c
- hw/pci-bridge/pcie_root_port.c 0 additions, 1 deletionhw/pci-bridge/pcie_root_port.c
- hw/pci-bridge/xio3130_downstream.c 0 additions, 1 deletionhw/pci-bridge/xio3130_downstream.c
- hw/pci-bridge/xio3130_upstream.c 0 additions, 1 deletionhw/pci-bridge/xio3130_upstream.c
- hw/pci-host/xilinx-pcie.c 0 additions, 1 deletionhw/pci-host/xilinx-pcie.c
- hw/pci/pci.c 6 additions, 2 deletionshw/pci/pci.c
- hw/scsi/megasas.c 0 additions, 4 deletionshw/scsi/megasas.c
- hw/usb/hcd-xhci.c 8 additions, 1 deletionhw/usb/hcd-xhci.c
- hw/vfio/pci.c 4 additions, 1 deletionhw/vfio/pci.c
- hw/xen/xen_pt.c 8 additions, 1 deletionhw/xen/xen_pt.c
- include/hw/pci/pci.h 0 additions, 3 deletionsinclude/hw/pci/pci.h
Loading
Please register or sign in to comment