Re: [libvirt] [PATCH 2/2] util: Only define /dev/kvm path once

2016-06-27 Thread Andrea Bolognani
On Mon, 2016-06-27 at 15:17 +0200, Ján Tomko wrote: > > > > Remove the local kvmpath variable from > > > > virHostCPUGetThreadsPerSubcore() and use the global KVM_DEVICE > > > > define instead. > > > > --- > > > > src/util/virhostcpu.c | 7 +++ > > > > 1 file changed, 3 insertions(+), 4

Re: [libvirt] [PATCH 2/2] util: Only define /dev/kvm path once

2016-06-27 Thread Ján Tomko
On Mon, Jun 27, 2016 at 01:15:56PM +0200, Andrea Bolognani wrote: On Sat, 2016-06-25 at 10:19 +0200, Ján Tomko wrote: On Fri, Jun 24, 2016 at 07:34:38PM +0200, Andrea Bolognani wrote: > Remove the local kvmpath variable from > virHostCPUGetThreadsPerSubcore() and use the global KVM_DEVICE >

Re: [libvirt] [PATCH 2/2] util: Only define /dev/kvm path once

2016-06-27 Thread Andrea Bolognani
On Sat, 2016-06-25 at 10:19 +0200, Ján Tomko wrote: > On Fri, Jun 24, 2016 at 07:34:38PM +0200, Andrea Bolognani wrote: > > Remove the local kvmpath variable from > > virHostCPUGetThreadsPerSubcore() and use the global KVM_DEVICE > > define instead. > > --- > > src/util/virhostcpu.c | 7 +++ >

Re: [libvirt] [PATCH 2/2] util: Only define /dev/kvm path once

2016-06-25 Thread Ján Tomko
On Fri, Jun 24, 2016 at 07:34:38PM +0200, Andrea Bolognani wrote: Remove the local kvmpath variable from virHostCPUGetThreadsPerSubcore() and use the global KVM_DEVICE define instead. --- src/util/virhostcpu.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) ACK Jan --

[libvirt] [PATCH 2/2] util: Only define /dev/kvm path once

2016-06-24 Thread Andrea Bolognani
Remove the local kvmpath variable from virHostCPUGetThreadsPerSubcore() and use the global KVM_DEVICE define instead. --- src/util/virhostcpu.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/util/virhostcpu.c b/src/util/virhostcpu.c index a34d983..055fa1f 100644