From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: Re: [PATCH v9 20/21] KVM: ARM: Introduce per-vcpu kvm device controls Date: Fri, 15 Jan 2016 12:16:03 +0100 Message-ID: <20160115111603.GF3915@hawk.localdomain> References: <1452839275-19368-1-git-send-email-zhaoshenglong@huawei.com> <1452839275-19368-21-git-send-email-zhaoshenglong@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 2CD0149A0A for ; Fri, 15 Jan 2016 06:11:57 -0500 (EST) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q6bKQxVw0yow for ; Fri, 15 Jan 2016 06:11:56 -0500 (EST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 1AEAE49444 for ; Fri, 15 Jan 2016 06:11:55 -0500 (EST) Content-Disposition: inline In-Reply-To: <1452839275-19368-21-git-send-email-zhaoshenglong@huawei.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Shannon Zhao Cc: kvm@vger.kernel.org, marc.zyngier@arm.com, shannon.zhao@linaro.org, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu List-Id: kvmarm@lists.cs.columbia.edu On Fri, Jan 15, 2016 at 02:27:54PM +0800, Shannon Zhao wrote: > From: Shannon Zhao > > In some cases it needs to get/set attributes specific to a vcpu and so > needs something else than ONE_REG. > > Let's copy the KVM_DEVICE approach, and define the respective ioctls > for the vcpu file descriptor. > > Signed-off-by: Shannon Zhao > --- > CC: Peter Maydell > --- Reviewed-by: Andrew Jones