[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [RFC PATCH qemu v2 0/5] vfio: SPAPR IOMMU v2 (memory prer
From: |
Alex Williamson |
Subject: |
Re: [Qemu-ppc] [RFC PATCH qemu v2 0/5] vfio: SPAPR IOMMU v2 (memory preregistration support) |
Date: |
Mon, 13 Jul 2015 13:37:00 -0600 |
On Tue, 2015-07-14 at 00:56 +1000, Alexey Kardashevskiy wrote:
> Here are few patches to prepare an existing listener for handling memory
> preregistration for SPAPR guests running on POWER8.
>
> This used to be a part of DDW patchset but now is separated as requested.
> I left versions in changelog of 5/5 for convenience.
>
> Please comment, specifically about how many memory listeners we want to
> have in VFIO.
>
> The existing listener listens on PCI address space which in fact is RAM
> on x86 but is not on sPAPR. Memory preregistration requires listening
> on RAM for sPAPR too. Having a listener without a filter is tricky as it
> will be notified on VIO address spaces too so having more that one listener
> makes some sense. Any input is welcome.
What I think you're doing here is using the same core memory listener
functions wrapped in separate memory listeners so that you can look only
at the address spaces you're interested in, iommu vs ram. I think that
largely achieves the consolidation I was looking for. I don't
particularly care how many different ways you register memory listeners,
but I don't want to have a new set of memory listener callbacks that do
largely the same thing as the existing callback. Thanks,
Alex
- [Qemu-ppc] [RFC PATCH qemu v2 0/5] vfio: SPAPR IOMMU v2 (memory preregistration support), Alexey Kardashevskiy, 2015/07/13
- [Qemu-ppc] [RFC PATCH qemu v2 1/5] vfio: Switch from TARGET_PAGE_MASK to qemu_real_host_page_mask, Alexey Kardashevskiy, 2015/07/13
- [Qemu-ppc] [RFC PATCH qemu v2 5/5] vfio: spapr: Add SPAPR IOMMU v2 support (DMA memory preregistering), Alexey Kardashevskiy, 2015/07/13
- [Qemu-ppc] [RFC PATCH qemu v2 4/5] vfio: Refactor memory listener to accommodate more IOMMU types, Alexey Kardashevskiy, 2015/07/13
- [Qemu-ppc] [RFC PATCH qemu v2 2/5] vfio: Skip PCI BARs in memory listener, Alexey Kardashevskiy, 2015/07/13
- [Qemu-ppc] [RFC PATCH qemu v2 3/5] vfio: Store IOMMU type in container, Alexey Kardashevskiy, 2015/07/13
- Re: [Qemu-ppc] [RFC PATCH qemu v2 0/5] vfio: SPAPR IOMMU v2 (memory preregistration support),
Alex Williamson <=