Re: [Qemu-devel] [PATCH 03/15] pci: allow cleanup/unregistration of PCI root buses

2019-01-02 Thread David Gibson
On Wed, Jan 02, 2019 at 10:27:14PM -0500, Michael S. Tsirkin wrote: > On Thu, Jan 03, 2019 at 11:36:33AM +1100, David Gibson wrote: > > On Fri, Dec 21, 2018 at 11:19:18AM -0500, Michael S. Tsirkin wrote: > > > On Fri, Dec 21, 2018 at 01:35:30AM +0100, Greg Kurz wrote: > > > > From: Michael Roth >

Re: [Qemu-devel] [PATCH 03/15] pci: allow cleanup/unregistration of PCI root buses

2019-01-02 Thread Michael S. Tsirkin
On Thu, Jan 03, 2019 at 11:36:33AM +1100, David Gibson wrote: > On Fri, Dec 21, 2018 at 11:19:18AM -0500, Michael S. Tsirkin wrote: > > On Fri, Dec 21, 2018 at 01:35:30AM +0100, Greg Kurz wrote: > > > From: Michael Roth > > > > > > This adds cleanup counterparts to pci_register_root_bus(), > > >

Re: [Qemu-devel] [PATCH 03/15] pci: allow cleanup/unregistration of PCI root buses

2019-01-02 Thread David Gibson
On Fri, Dec 21, 2018 at 11:19:18AM -0500, Michael S. Tsirkin wrote: > On Fri, Dec 21, 2018 at 01:35:30AM +0100, Greg Kurz wrote: > > From: Michael Roth > > > > This adds cleanup counterparts to pci_register_root_bus(), > > pci_root_bus_new(), and pci_bus_irqs(). > > > > These cleanup routines

Re: [Qemu-devel] [PATCH 03/15] pci: allow cleanup/unregistration of PCI root buses

2018-12-21 Thread Michael S. Tsirkin
On Fri, Dec 21, 2018 at 01:35:30AM +0100, Greg Kurz wrote: > From: Michael Roth > > This adds cleanup counterparts to pci_register_root_bus(), > pci_root_bus_new(), and pci_bus_irqs(). > > These cleanup routines are needed in the case of hotpluggable > PCIHostBridge implementations. Currently

[Qemu-devel] [PATCH 03/15] pci: allow cleanup/unregistration of PCI root buses

2018-12-20 Thread Greg Kurz
From: Michael Roth This adds cleanup counterparts to pci_register_root_bus(), pci_root_bus_new(), and pci_bus_irqs(). These cleanup routines are needed in the case of hotpluggable PCIHostBridge implementations. Currently we can rely on the object_unparent()'ing of the PCIHostState recursively