mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
Revert "ANDROID: KVM: arm64: pkvm: Update the shadow view of pkvm.enabled at creation time"
This reverts commit 7c52b4e55a.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I554fc97f1eb09ecea5ebee3cd97d99aef34f63ac
This commit is contained in:
@@ -358,7 +358,6 @@ static int init_shadow_structs(struct kvm *kvm, struct kvm_shadow_vm *vm,
|
||||
vm->host_kvm = kvm;
|
||||
vm->created_vcpus = 0;
|
||||
vm->arch.pkvm.pvmfw_load_addr = kvm->arch.pkvm.pvmfw_load_addr;
|
||||
vm->arch.pkvm.enabled = READ_ONCE(kvm->arch.pkvm.enabled);
|
||||
|
||||
for (i = 0; i < nr_vcpus; i++) {
|
||||
struct kvm_vcpu *host_vcpu = kern_hyp_va(vcpu_array[i]);
|
||||
|
||||
Reference in New Issue
Block a user