From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:51663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghH78-0002rK-8O for qemu-devel@nongnu.org; Wed, 09 Jan 2019 11:53:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghH76-0005Av-H9 for qemu-devel@nongnu.org; Wed, 09 Jan 2019 11:53:57 -0500 From: David Hildenbrand Date: Wed, 9 Jan 2019 17:53:43 +0100 Message-Id: <20190109165349.23631-1-david@redhat.com> Subject: [Qemu-devel] [PATCH v1 0/6] s390/pci: hotplug handler fixes and reworks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Collin Walling , Thomas Huth , Christian Borntraeger , Cornelia Huck , Richard Henderson , David Hildenbrand A bunch of fixes and reworks for s390x/pci hotplug infrastructure. Patch 1,2: Reworks already posted (pre_plug handler) Patch 3,4: Fixes for memory leaks Patch 5: Rework unplug handler (introduce unplug_request handler) which also fixes some unplug scenarios Patch 6: RFC patch regarding handling leftover unplug requests on reboot We might decide to drop 1. 3 and 4 can be picked up independently. David Hildenbrand (6): s390x/pci: Use hotplug_dev instead of looking up the host bridge s390x/pci: Move some hotplug checks to the pre_plug handler s390x/pci: Always delete and free the release_timer s390x/pci: Ignore the unplug call if we already have a release_timer s390x/pci: Introduce unplug requests and split unplug handler s390x/pci: unplug remaining devices on pcihost reset hw/s390x/s390-pci-bus.c | 216 +++++++++++++++++++++++++++------------- hw/s390x/s390-pci-bus.h | 1 + 2 files changed, 149 insertions(+), 68 deletions(-) -- 2.17.2