From: Alexander Graf Subject: Re: [PATCH 3/3] KVM: Add KVM_VCPU_GET_REG_LIST/KVM_CAP_REG_LIST. Date: Wed, 19 Sep 2012 16:22:17 +0200 Message-ID: References: <1346831926-31820-1-git-send-email-rusty.russell@linaro.org> <1346831926-31820-4-git-send-email-rusty.russell@linaro.org> Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Avi Kivity , Christoffer Dall , Peter Maydell To: Rusty Russell Return-path: Received: from cantor2.suse.de ([195.135.220.15]:52719 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752285Ab2ISOWV (ORCPT ); Wed, 19 Sep 2012 10:22:21 -0400 In-Reply-To: <1346831926-31820-4-git-send-email-rusty.russell@linaro.org> Sender: kvm-owner@vger.kernel.org List-ID: On 05.09.2012, at 09:58, Rusty Russell wrote: > This is a generic interface to find out what you can use > KVM_GET_ONE_REG/KVM_SET_ONE_REG on. Archs need to define > KVM_HAVE_REG_LIST and then kvm_arch_num_regs() and > kvm_arch_copy_reg_indices() functions. > > It's inspired by KVM_GET_MSR_INDEX_LIST, except it's a per-vcpu ioctl, > and uses 64-bit indices. > > Signed-off-by: Rusty Russell Acked-by: Alexander Graf Alex