qemu-e2k/include/hw/pci
David Hildenbrand b9731850d7 pci/pcie: stop plug/unplug if the slot is locked
We better stop right away. For now, errors would be partially ignored
(so the guest might get informed or the device might get unplugged),
although actual plug/unplug will be reported as failed to the user.

While at it, properly move the check to the pre_plug handler for the plug
case, as we can test the slot state before the device will be realized.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-01-14 19:31:04 -05:00
..
msi.h
msix.h
pci_bridge.h pci/shpc: perform unplug via the hotplug handler 2018-12-20 11:19:12 -05:00
pci_bus.h hw/pci: Add missing include 2018-11-05 13:24:02 -05:00
pci_host.h
pci_ids.h i386: clarify that the Q35 machine type implements a P35 chipset 2018-11-06 21:35:05 +01:00
pci_regs.h
pci.h pci: allow cleanup/unregistration of PCI root buses 2019-01-09 09:28:14 +11:00
pcie_aer.h
pcie_host.h ppc4xx: Add device models found in PPC440 core SoCs 2018-02-16 14:06:07 +11:00
pcie_port.h pcie: Add link speed and width fields to PCIESlot 2018-12-19 16:48:16 -05:00
pcie_regs.h pcie: Create enums for link speed and width 2018-12-19 16:48:16 -05:00
pcie.h pci/pcie: stop plug/unplug if the slot is locked 2019-01-14 19:31:04 -05:00
shpc.h pci/shpc: perform unplug via the hotplug handler 2018-12-20 11:19:12 -05:00
slotid_cap.h