Re: [Qemu-devel] [PATCH v3 3/9] spapr_pci: Introduce a finish_realize() callback

2014-05-29 Thread Alexander Graf
On 29.05.14 03:53, Alexey Kardashevskiy wrote: On 05/29/2014 01:11 AM, Alexander Graf wrote: On 27.05.14 07:36, Alexey Kardashevskiy wrote: The spapr-pci PHB initializes IOMMU for emulated devices only. The upcoming VFIO support will do it different. However both emulated and VFIO PHB types sh

Re: [Qemu-devel] [PATCH v3 3/9] spapr_pci: Introduce a finish_realize() callback

2014-05-28 Thread Alexey Kardashevskiy
On 05/29/2014 01:11 AM, Alexander Graf wrote: > > On 27.05.14 07:36, Alexey Kardashevskiy wrote: >> The spapr-pci PHB initializes IOMMU for emulated devices only. >> The upcoming VFIO support will do it different. However both emulated >> and VFIO PHB types share most of the initialization code. >

Re: [Qemu-devel] [PATCH v3 3/9] spapr_pci: Introduce a finish_realize() callback

2014-05-28 Thread Alexander Graf
On 27.05.14 07:36, Alexey Kardashevskiy wrote: The spapr-pci PHB initializes IOMMU for emulated devices only. The upcoming VFIO support will do it different. However both emulated and VFIO PHB types share most of the initialization code. For the type specific things a new finish_realize() callba

[Qemu-devel] [PATCH v3 3/9] spapr_pci: Introduce a finish_realize() callback

2014-05-26 Thread Alexey Kardashevskiy
The spapr-pci PHB initializes IOMMU for emulated devices only. The upcoming VFIO support will do it different. However both emulated and VFIO PHB types share most of the initialization code. For the type specific things a new finish_realize() callback is introduced. This introduces sPAPRPHBClass d