[PATCH v5.5 08/30] KVM: arm64: Use "new" memslot instead of userspace memory region

Reiji Watanabe reijiw at google.com
Mon Nov 8 22:36:19 PST 2021


On Wed, Nov 3, 2021 at 5:26 PM Sean Christopherson <seanjc at google.com> wrote:
>
> Get the slot ID, hva, etc... from the "new" memslot instead of the
> userspace memory region when preparing/committing a memory region.  This
> will allow a future commit to drop @mem from the prepare/commit hooks
> once all architectures convert to using "new".
>
> Opportunistically wait to get the hva begin+end until after filtering out
> the DELETE case in anticipation of a future commit passing NULL for @new
> when deleting a memslot.
>
> Signed-off-by: Sean Christopherson <seanjc at google.com>

Reviewed-by: Reiji Watanabe <reijiw at google.com>



More information about the kvm-riscv mailing list