From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shannon Zhao Subject: Re: [PATCH v9 19/21] KVM: ARM64: Add a new feature bit for PMUv3 Date: Tue, 26 Jan 2016 11:40:25 +0800 Message-ID: <56A6EAA9.3010506@huawei.com> References: <1452839275-19368-1-git-send-email-zhaoshenglong@huawei.com> <1452839275-19368-20-git-send-email-zhaoshenglong@huawei.com> <20160115110816.GE3915@hawk.localdomain> <569DE171.1070602@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Andrew Jones , "kvmarm@lists.cs.columbia.edu" , Marc Zyngier , Christoffer Dall , arm-mail-list , kvm-devel , "Will Deacon" , Wei Huang , "Christopher Covington" , Shannon Zhao , "Huangpeng (Peter)" , To: Peter Maydell Return-path: Received: from szxga03-in.huawei.com ([119.145.14.66]:24379 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752914AbcAZDlO (ORCPT ); Mon, 25 Jan 2016 22:41:14 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 2016/1/26 0:47, Peter Maydell wrote: > On 19 January 2016 at 07:10, Shannon Zhao wrote: >> > Yes, for checking the CAP true/false is enough. Maybe I think the number >> > of host counters could be useful for QEMU to know the number and for >> > supporting cross-type vcpu, but I'm not sure. If someone else has no >> > other suggestion, I will change it to what you suggest. > Do we care about the number of host counters? Currently we don't care about it. Anyway it could be added if it's necessary in the future. > We might want to > know how many counters the guest sees, but we can do that by > using KVM_GET_ONE_REG to look at the guest PMCR_EL0, right? Yes, right. -- Shannon