[PATCH v2 02/13] KVM: selftests: Return a value from vcpu_get_reg() instead of using an out-param
Sean Christopherson
seanjc at google.com
Thu Sep 12 06:49:40 PDT 2024
On Thu, Sep 12, 2024, Andrew Jones wrote:
> On Wed, Sep 11, 2024 at 01:41:47PM GMT, Sean Christopherson wrote:
> > Return a uint64_t from vcpu_get_reg() instead of having the caller provide
> > a pointer to storage, as none of the KVM_GET_ONE_REG usage in KVM selftests
>
> "none of the vcpu_get_reg() usage"
>
> (There is KVM_GET_ONE_REG usage accessing larger registers, but those are
> done through __vcpu_get_reg(). See get-reg-list.c)
Doh, right, which was also part of my reasoning for making the conversion (tests
can use __vcpu_get_reg() if they need to get a larger register).
More information about the linux-riscv
mailing list