Re: [Qemu-devel] [PULL 2/3] pci: Add missing drop of bus master AS reference

2017-03-30 Thread Max Reitz
On 29.03.2017 03:18, Michael S. Tsirkin wrote: > From: Alexey Kardashevskiy > > The recent introduction of a bus master container added > memory_region_add_subregion() into the PCI device registering path but > missed memory_region_del_subregion() in the unregistering path leaving > a reference t

Re: [Qemu-devel] [PULL 2/3] pci: Add missing drop of bus master AS reference

2017-03-30 Thread John Snow
On 03/28/2017 09:18 PM, Michael S. Tsirkin wrote: > From: Alexey Kardashevskiy > > The recent introduction of a bus master container added > memory_region_add_subregion() into the PCI device registering path but > missed memory_region_del_subregion() in the unregistering path leaving > a refere

[Qemu-devel] [PULL 2/3] pci: Add missing drop of bus master AS reference

2017-03-28 Thread Michael S. Tsirkin
From: Alexey Kardashevskiy The recent introduction of a bus master container added memory_region_add_subregion() into the PCI device registering path but missed memory_region_del_subregion() in the unregistering path leaving a reference to the root memory region of the new container. This adds m