diff options
author | Fuad Tabba <[email protected]> | 2024-10-18 08:48:29 +0100 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2024-10-31 18:45:24 +0000 |
commit | 0546d4a925a6ce52b362e528f6d962efd72c84b9 (patch) | |
tree | f8227ce3c48be78a95c270eb5d953a9f40c8f596 /scripts/gdb/linux/utils.py | |
parent | 8aaf3f7dce74605a2e9f31bd421825a996ac7de3 (diff) |
KVM: arm64: Move pkvm_vcpu_init_traps() to init_pkvm_hyp_vcpu()
Move pkvm_vcpu_init_traps() to the initialization of the
hypervisor's vcpu state in init_pkvm_hyp_vcpu(), and remove the
associated hypercall.
In protected mode, traps need to be initialized whenever a VCPU
is initialized anyway, and not only for protected VMs. This also
saves an unnecessary hypercall.
Signed-off-by: Fuad Tabba <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions