commit | 756e1fc16505c31c9f86b602fcb8e2bc55c4b7e5 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <seanjc@google.com> | Thu Nov 04 16:41:06 2021 +0000 |
committer | Anup Patel <anup@brainfault.org> | Mon Nov 22 10:36:16 2021 +0530 |
tree | 56da139889d80021add9029e12303aecfc773e83 | |
parent | 136057256686de39cc3a07c2e39ef6bc43003ff6 [diff] |
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: 9d05c1fee837 ("RISC-V: KVM: Implement stage2 page table programming") Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Anup Patel <anup.patel@wdc.com>