Re: [PATCH v5.5 12/30] KVM: x86: Use "new" memslot instead of userspace memory region

From: Maciej S. Szmigiero
Date: Mon Nov 08 2021 - 19:41:16 EST


On 04.11.2021 01:25, Sean Christopherson wrote:
Get the number of pages directly from the new memslot instead of
computing the same from the userspace memory region when allocating
memslot metadata. This will allow a future patch to drop @mem.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>

Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@xxxxxxxxxx>