Commit 756e1fc1 authored by Sean Christopherson's avatar Sean Christopherson Committed by Anup Patel
Browse files

KVM: RISC-V: Unmap stage2 mapping when deleting/moving a memslot

Unmap stage2 page tables when a memslot is being deleted or moved.  It's
the architectures' responsibility to ensure existing mappings are removed
when kvm_arch_flush_shadow_memslot() returns.

Fixes: 9d05c1fe

 ("RISC-V: KVM: Implement stage2 page table programming")
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 13605725
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment