Re: [PATCH v4 20/25] KVM: arm64: Return guest memory from EL2 via dedicated teardown memcache

Quentin Perret
2022-10-19T16:08:01Z

On Monday 17 Oct 2022 at 12:52:04 (+0100), Will Deacon wrote:
> struct kvm_protected_vm {
> pkvm_handle_t handle;
> struct mutex vm_lock;
> -
> - struct {
> - void *pgd;
> - void *vm;
> - void *vcpus[KVM_MAX_VCPUS];
> - } hyp_donations;
> + struct kvm_hyp_memcache teardown_mc;
> };

Argh, I guess that somewhat invalidates my previous comment. Oh well :-)