Re: [Qemu-devel] [Qemu-ppc] [for-2.11 PATCH 06/26] spapr_pci: parent the MSI memory region to the PHB

2017-07-26 Thread Greg Kurz
On Wed, 26 Jul 2017 14:29:26 +1000 Alexey Kardashevskiy wrote: > On 26/07/17 03:59, Greg Kurz wrote: > > This memory region should be owned by the PHB. This ensures the PHB > > cannot be finalized as long as the the region is guest visible, or > > used by a CPU or a device. > > Out of curiosit

Re: [Qemu-devel] [Qemu-ppc] [for-2.11 PATCH 06/26] spapr_pci: parent the MSI memory region to the PHB

2017-07-25 Thread Alexey Kardashevskiy
On 26/07/17 03:59, Greg Kurz wrote: > This memory region should be owned by the PHB. This ensures the PHB > cannot be finalized as long as the the region is guest visible, or > used by a CPU or a device. Out of curiosity - does it really ensure this? Passing a parent to memory_region_init_io() add