mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
Revert "ANDROID: KVM: arm64: Don't remove shadow table entry twice on teardown"
This reverts commit 9515eed842.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ia2fc456c8a6f43c95daf41a78de7e29321f252dc
This commit is contained in:
@@ -655,6 +655,7 @@ int __pkvm_teardown_shadow(struct kvm *kvm)
|
||||
/* Reclaim guest pages, and page-table pages */
|
||||
mc = &vm->host_kvm->arch.pkvm.teardown_mc;
|
||||
reclaim_guest_pages(vm, mc);
|
||||
remove_shadow_table(shadow_handle);
|
||||
unpin_host_vcpus(vm);
|
||||
|
||||
/* Push the metadata pages to the teardown memcache */
|
||||
|
||||
Reference in New Issue
Block a user