This is a fix to a bug when guest memory stays Active after QEMU process exited. This happened because the QEMU memory context was not released in a short period of time after QEMU process exited. More details are in the commit logs.
Please comment. Thanks. Alexey Kardashevskiy (2): powerpc/iommu: Stop using @current in mm_iommu_xxx powerpc/mm/iommu: Put pages on process exit arch/powerpc/include/asm/mmu_context.h | 16 +++--- arch/powerpc/mm/mmu_context_book3s64.c | 4 -- arch/powerpc/mm/mmu_context_iommu.c | 55 +++++++-------------- drivers/vfio/vfio_iommu_spapr_tce.c | 89 ++++++++++++++++++++++++++++------ 4 files changed, 100 insertions(+), 64 deletions(-) -- 2.5.0.rc3