]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: fix typo: rename __kvm_hv_spinlock to __kvm_hv_spinlocks
authorMaxim Nestratov <mnestratov@virtuozzo.com>
Tue, 31 Jan 2017 14:12:13 +0000 (17:12 +0300)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 9 Feb 2017 12:52:16 +0000 (13:52 +0100)
commitc3ee75e5aa26a359309599796a5a13efccfc974c
treec23e5bfd725dff892d7d6eea34a60ad049139512
parent644804765b0508d964c49fc5aaeb59c1d2dec203
cpu: fix typo: rename __kvm_hv_spinlock to __kvm_hv_spinlocks

Strings associated with virDomainHyperv values in domain_conf.c are used to
construct HyperV CPU features names to be compared with names defined in
cpu_x86_data.h and the names for HyperV "spinlocks" feature don't match.
This leads to a misleading warning:
"host doesn't support hyperv 'spinlocks' feature" even when it's supported.
Let's fix it and rename along with it VIR_CPU_x86_KVM_HV_SPINLOCK to
VIR_CPU_x86_KVM_HV_SPINLOCKS.

Signed-off-by: Maxim Nestratov <mnestratov@virtuozzo.com>
src/cpu/cpu_x86.c
src/cpu/cpu_x86_data.h