qemu/include/hw/pci
Markus Armbruster 7411aa63a5 pci: New pci_new(), pci_realize_and_unref() etc.
I'm converting from qdev_create()/qdev_init_nofail() to
qdev_new()/qdev_realize_and_unref(); recent commit "qdev: New
qdev_new(), qdev_realize(), etc." explains why.

PCI devices use qdev_create() through pci_create() and
pci_create_multifunction().

Provide pci_new(), pci_new_multifunction(), and
pci_realize_and_unref() for converting PCI devices.

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200610053247.1583243-14-armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
2020-06-15 22:05:28 +02:00
..
msi.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
msix.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
pci_bridge.h hw/pci/pci_bridge: Fix typo in comment 2020-02-06 11:10:46 +01:00
pci_bus.h pcie: Simplify pci_adjust_config_limit() 2019-05-29 18:00:57 -04:00
pci_host.h hw/pci/pci_host: Let pci_data_[read/write] use unsigned 'size' argument 2020-01-05 07:03:03 -05:00
pci_ids.h net: add tulip (dec21143) driver 2019-10-29 10:28:07 +08:00
pci_regs.h Supply missing header guards 2019-06-12 13:20:21 +02:00
pci.h pci: New pci_new(), pci_realize_and_unref() etc. 2020-06-15 22:05:28 +02:00
pcie_aer.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pcie_host.h
pcie_port.h pcie_root_port: Add hotplug disabling option 2020-03-08 09:18:29 -04:00
pcie_regs.h
pcie.h pcie_root_port: Add hotplug disabling option 2020-03-08 09:18:29 -04:00
shpc.h Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
slotid_cap.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00