qemu-e2k/hw/pci
Mark Cave-Ayland 8b8849844f pci: add reserved slot check to do_pci_register_device()
Add a new slot_reserved_mask bitmask to PCIBus indicating whether or not each
PCI slot on the bus is reserved. Ensure that it is initialised to zero to
maintain the existing behaviour that all slots are available by default, and
add the additional check with appropriate error reporting to
do_pci_register_device().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2017-09-08 16:15:17 +03:00
..
Makefile.objs
msi.c
msix.c msix: use DIV_ROUND_UP 2017-08-31 12:29:07 +02:00
pci_bridge.c hw/pci: introduce bridge-only vendor-specific capability to provide some hints to firmware 2017-09-08 16:15:17 +03:00
pci_host.c
pci-stub.c
pci.c pci: add reserved slot check to do_pci_register_device() 2017-09-08 16:15:17 +03:00
pcie_aer.c
pcie_host.c
pcie_port.c
pcie.c
shpc.c
slotid_cap.c
trace-events