Messages in this thread | | | From | Reiji Watanabe <> | Date | Mon, 13 Sep 2021 20:33:30 -0700 | Subject | Re: [PATCH v6 09/14] KVM: arm64: selftests: Add guest support to get the vcpuid |
| |
On Mon, Sep 13, 2021 at 4:10 PM Raghavendra Rao Ananta <rananta@google.com> wrote: > > 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 <reijiw@google.com> > Signed-off-by: Raghavendra Rao Ananta <rananta@google.com> > Reviewed-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Thank you for creating this utility ! Reiji
| |