diff options
author | Raghavendra Rao Ananta <[email protected]> | 2021-10-07 23:34:34 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-10-17 11:17:21 +0100 |
commit | 17229bdc86c9e618e8832b5ca8451e367e07511b (patch) | |
tree | 31afdf79e928bc8f41bd4bcfc5d73226eb40f8f9 /scripts/gdb/linux/utils.py | |
parent | 0226cd531c587e0cd51e5ce5622051d319182506 (diff) |
KVM: arm64: selftests: Add guest support to get the vcpuid
At times, such as when in the interrupt handler, the guest wants
to get the vcpuid that it's running on to pull the per-cpu private
data. As a result, introduce guest_get_vcpuid() that returns the
vcpuid of the calling vcpu. The interface is architecture
independent, but defined only for arm64 as of now.
Suggested-by: Reiji Watanabe <[email protected]>
Signed-off-by: Raghavendra Rao Ananta <[email protected]>
Reviewed-by: Ricardo Koller <[email protected]>
Reviewed-by: Reiji Watanabe <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions