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

Quentin Perret qperret at google.com
Wed Oct 19 08:52:10 PDT 2022


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 :-)



More information about the linux-arm-kernel mailing list