Re: [PATCH v5.5 18/30] KVM: Don't make a full copy of the old memslot in __kvm_set_memory_region()

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


On 04.11.2021 01:25, Sean Christopherson wrote:
Stop making a full copy of the old memslot in __kvm_set_memory_region()
now that metadata updates are handled by kvm_set_memslot(), i.e. now that
the old memslot's dirty bitmap doesn't need to be referenced after the
memslot and its pointer is modified/invalidated by kvm_set_memslot().

No functional change intended.

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

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