]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: hostcpu: Only define /dev/kvm path once
authorAndrea Bolognani <abologna@redhat.com>
Fri, 24 Jun 2016 17:34:38 +0000 (19:34 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 1 Jul 2016 15:58:29 +0000 (17:58 +0200)
commit9c992f437ceaaf7afe5e43427e584f638c53edca
treef1f72c6726581dac657d93538f8d7bdc88b27c58
parentaa7bb4f36d87024e4c15e9fbef86119d9e0c9dca
util: hostcpu: Only define /dev/kvm path once

Remove the local kvmpath variable from
virHostCPUGetThreadsPerSubcore() and use the file-global
KVM_DEVICE define instead.
src/util/virhostcpu.c