From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: [RFC 0/5] Making KVM_GET_ONE_REG/KVM_SET_ONE_REG generic. Date: Wed, 29 Aug 2012 09:07:01 +0930 Message-ID: <877gsia8rm.fsf@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: , "kvm-devel" To: "Avi Kivity" , "Christoffer Dall" , "Alexander Graf" , "Peter Maydell" Return-path: Received: from ozlabs.org ([203.10.76.45]:35927 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750973Ab2H1XhT (ORCPT ); Tue, 28 Aug 2012 19:37:19 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Hi all, This compiles, completely untested, but it's my attempt to give Avi (and Alexander) what he asked for in a generic register accessor. Mingled in these patches is the conversion of the latest KVM ARM code, which is the first proposed user: by the end, we use these accessors for *every* register and piece of state. GET_MULTI/SET_MULTI is an obvious extension which is not yet implemented. Comments please! Rusty.