[PATCH v4 13/25] KVM: arm64: Instantiate pKVM hypervisor VM and vCPU structures from EL1
Quentin Perret
qperret at google.com
Wed Oct 19 09:00:06 PDT 2022
On Monday 17 Oct 2022 at 12:51:57 (+0100), Will Deacon wrote:
> +struct kvm_protected_vm {
> + pkvm_handle_t handle;
> + struct mutex vm_lock;
Why is this lock needed btw? Isn't kvm->lock good enough?
> +
> + struct {
> + void *pgd;
> + void *vm;
> + void *vcpus[KVM_MAX_VCPUS];
> + } hyp_donations;
> +};
More information about the linux-arm-kernel
mailing list