From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 3/3] KVM: perf: kvm events analysis tool Date: Tue, 24 Jan 2012 14:51:12 +0200 Message-ID: <4F1EA940.4040701@redhat.com> References: <4F13EE3D.2070602@linux.vnet.ibm.com> <4F13EEC5.8050807@linux.vnet.ibm.com> <20120117115913.GC17420@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Stefan Hajnoczi , Xiao Guangrong , LKML , KVM To: Marcelo Tosatti Return-path: In-Reply-To: <20120117115913.GC17420@amt.cnet> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 01/17/2012 01:59 PM, Marcelo Tosatti wrote: > > > > All this copy-paste could be avoided by sharing this stuff with the > > arch/x86/kvm/ code. > > Yes, same for KVM_MAX_VCPUS. > > This is an internal define. perf kvm should work with different kernel versions, so it needs to query the value dynamically. -- error compiling committee.c: too many arguments to function