Re: [PATCH v11 10/19] KVM: s390: pv: add mmu_notifier

Nico Boehr
2022-06-08T12:02:21Z

On Fri, 3 Jun 2022 08:56:36 +0200
Claudio Imbrenda <imbrenda@linux.ibm.com> wrote:

> Add an mmu_notifier for protected VMs. The callback function is
> triggered when the mm is torn down, and will attempt to convert all
> protected vCPUs to non-protected. This allows the mm teardown to use
> the destroy page UVC instead of export.
>
> Also make KVM select CONFIG_MMU_NOTIFIER, needed to use mmu_notifiers.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
> Acked-by: Janosch Frank <frankja@linux.ibm.com>

Reviewed-by: Nico Boehr <nrb@linux.ibm.com>