These are the remaining two patches, rebased to current upstream.
Patch 1: Rework unplug handler (introduce unplug_request handler) which
also fixes some unplug scenarios
Patch 2: Handle leftover unplug requests on reset
v2 -> v3:
- Rebased
v1 -> v2:
- Some rewordings in patch descriptions
- "s390x/pci: Introduce unplug requests and split unplug handler"
-- Some simplifications regarding s390_pci_perform_unplug()
David Hildenbrand (2):
s390x/pci: Introduce unplug requests and split unplug handler
s390x/pci: Unplug remaining devices on pcihost reset
hw/s390x/s390-pci-bus.c | 174 +++++++++++++++++++++++++++-------------
hw/s390x/s390-pci-bus.h | 1 +
2 files changed, 121 insertions(+), 54 deletions(-)
--
2.17.2