Home
last modified time | relevance | path

Searched hist:aafa97fd1c01bc82c1f288bf1f27e8e1bdc36a3e (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Dhyperv.hdiff aafa97fd1c01bc82c1f288bf1f27e8e1bdc36a3e Tue Jan 26 07:48:07 CST 2021 Vitaly Kuznetsov <vkuznets@redhat.com> KVM: x86: hyper-v: Rename vcpu_to_stimer()/stimer_to_vcpu()

vcpu_to_stimers()'s argument is almost always 'vcpu' so there's no need to
have an additional prefix. Also, this makes the naming more consistent with
to_hv_vcpu()/to_hv_synic().

Rename stimer_to_vcpu() to hv_stimer_to_vcpu() for consitency.

No functional change intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210126134816.1880136-7-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dhyperv.cdiff aafa97fd1c01bc82c1f288bf1f27e8e1bdc36a3e Tue Jan 26 07:48:07 CST 2021 Vitaly Kuznetsov <vkuznets@redhat.com> KVM: x86: hyper-v: Rename vcpu_to_stimer()/stimer_to_vcpu()

vcpu_to_stimers()'s argument is almost always 'vcpu' so there's no need to
have an additional prefix. Also, this makes the naming more consistent with
to_hv_vcpu()/to_hv_synic().

Rename stimer_to_vcpu() to hv_stimer_to_vcpu() for consitency.

No functional change intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210126134816.1880136-7-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>