From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Counting VCPU instructions Date: Tue, 13 Jan 2009 11:30:10 +0200 Message-ID: <496C5F22.1020706@redhat.com> References: <419eef1d0901121122w4e14a2clf2cc2ddb1adcb3fb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Abhishek Saksena Return-path: Received: from mx2.redhat.com ([66.187.237.31]:37057 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755929AbZAMJaO (ORCPT ); Tue, 13 Jan 2009 04:30:14 -0500 In-Reply-To: <419eef1d0901121122w4e14a2clf2cc2ddb1adcb3fb@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Abhishek Saksena wrote: > Hi guys, > Is ther a way to count how many instruction VCPU (KVM) executed? Say > between between two IO/mmio operations. > Is there any KVM API for this? > > While it's possible in theory using the hardware performance counters, no one has implemented this. > Other thing which I am not sure how KVM kerenel is synconrinized with > Qemu kernel? Can somebody explain this? > What's the qemu kernel? -- error compiling committee.c: too many arguments to function