From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:32923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFKps-0002pi-08 for qemu-devel@nongnu.org; Wed, 04 Apr 2012 03:41:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFKpl-0007gA-Aa for qemu-devel@nongnu.org; Wed, 04 Apr 2012 03:40:55 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:60277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFKpl-0007ft-1O for qemu-devel@nongnu.org; Wed, 04 Apr 2012 03:40:49 -0400 Received: by pbcuo5 with SMTP id uo5so6761pbc.4 for ; Wed, 04 Apr 2012 00:40:46 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4F7BFAEB.7070000@redhat.com> Date: Wed, 04 Apr 2012 09:40:27 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4F7B610D.8000101@redhat.com> <20120404011843.GA2918@illuin> In-Reply-To: <20120404011843.GA2918@illuin> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] KVM call minutes April 3 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: Dor Laor , Markus Armbruster , KVM devel mailing list , qemu-devel@nongnu.org Il 04/04/2012 03:18, Michael Roth ha scritto: > Attacking the IDL/schema side first is the more rationale approach. From > there we can potentially generate ASN.1 BER/DER visitors for the protocol > side, or potentially even just vmstate bindings as a start. I've recently > started looking into the latter... it's completely feasible, the only > downside is it complicates the IDL due requiring support for a lot of > what are very much vmstate-specific items, but it should be possible to > do this in a manner where those annotations are self-contained and > ignorable if we opted to replace vmstate-style declarations. We can also keep the current vmstate descriptions, but access fields from the automatically-generated visitors instead of struct fields. This keeps the IDL simple. Paolo