mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
Revert "ANDROID: KVM: arm64: Only call kvm_shadow_destroy() in protected mode"
This reverts commit 0863f25b5d.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I62a13366e694441b688d6555fe8a19cb6552c031
This commit is contained in:
@@ -231,9 +231,7 @@ void kvm_arch_destroy_vm(struct kvm *kvm)
|
||||
bitmap_free(kvm->arch.pmu_filter);
|
||||
|
||||
kvm_vgic_destroy(kvm);
|
||||
|
||||
if (is_protected_kvm_enabled())
|
||||
kvm_shadow_destroy(kvm);
|
||||
kvm_shadow_destroy(kvm);
|
||||
|
||||
for (i = 0; i < KVM_MAX_VCPUS; ++i) {
|
||||
if (kvm->vcpus[i]) {
|
||||
|
||||
Reference in New Issue
Block a user