KVM: arm64: Add infrastructure to create and track pKVM instances at EL2
Introduce a global table (and lock) to track pKVM instances at EL2, and provide hypercalls that can be used by the untrusted host to create and destroy pKVM VMs and their vCPUs. pKVM VM/vCPU state is directly accessible only by the trusted hypervisor (EL2). Each pKVM VM is directly associated with an untrusted host KVM instance, and is referenced by the host using an opaque handle. Future patches will provide hypercalls to allow the host to initialize/set/get pKVM VM/vCPU state using the opaque handle. Tested-by:Vincent Donnefort <vdonnefort@google.com> Signed-off-by:
Fuad Tabba <tabba@google.com> Co-developed-by:
Will Deacon <will@kernel.org> Signed-off-by:
Will Deacon <will@kernel.org> [maz: silence warning on unmap_donated_memory_noclear()] Signed-off-by:
Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221110190259.26861-13-will@kernel.org
Loading
-
mentioned in commit f909a72b
-
mentioned in commit 23d09bfa
-
mentioned in commit 654b901d
-
mentioned in commit 4a14a771
-
mentioned in commit c14bc917
-
mentioned in commit a34ade04
-
mentioned in commit fb5a1f31
-
mentioned in commit f7bcb1c8
-
mentioned in commit 85e8cae8
-
mentioned in commit 650a833f
-
mentioned in commit 68271f06
-
mentioned in commit d2abac4e
-
mentioned in commit 42eff3b2
-
mentioned in commit 685f28b7
-
mentioned in commit f7c257fe
-
mentioned in commit 86d19317
-
mentioned in commit adc27a43
Please sign in to comment