FROMLIST: 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> Link: https://lore.kernel.org/r/20221020133827.5541-13-will@kernel.org Signed-off-by:
Will Deacon <willdeacon@google.com> Bug: 233587962 Change-Id: Ibe946e86f9a773b6024bf74faeccbb6929548a1f Signed-off-by:
Quentin Perret <qperret@google.com>
Loading
-
mentioned in commit 5968b8b2
-
mentioned in commit 959b7621
-
mentioned in commit 187455ab
-
mentioned in commit 5d940ef6
-
mentioned in commit 2a148e30
-
mentioned in commit 67bac638
-
mentioned in commit ab96a0c7
-
mentioned in commit 5cdaa494
-
mentioned in commit 471511d4
-
mentioned in commit c4a4887c
-
mentioned in commit 096e651e
-
mentioned in commit 8095cc42
Please sign in to comment