From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tksca-0006Pj-B0 for qemu-devel@nongnu.org; Tue, 18 Dec 2012 03:33:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TkscT-0004Zo-UI for qemu-devel@nongnu.org; Tue, 18 Dec 2012 03:33:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkscT-0004Z5-My for qemu-devel@nongnu.org; Tue, 18 Dec 2012 03:33:45 -0500 Date: Tue, 18 Dec 2012 10:36:49 +0200 From: "Michael S. Tsirkin" Message-ID: <20121218083649.GA19090@redhat.com> References: <20121217214042.GA11926@redhat.com> <50CFA3C3.4030707@suse.de> <20121217232725.GA12878@redhat.com> <878v8w5gx9.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878v8w5gx9.fsf@codemonkey.ws> Subject: Re: [Qemu-devel] [PATCHv2] virtio: make bindings typesafe List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Stefan Hajnoczi , Jan Kiszka , Alexander Graf , qemu-devel@nongnu.org, Christian Borntraeger , pbonzini@redhat.com, Andreas =?iso-8859-1?Q?F=E4rber?= On Mon, Dec 17, 2012 at 06:42:58PM -0600, Anthony Liguori wrote: > What don't you just use a static inline and then you get even more type > safety and don't confuse with QOM cast macros... > > Regards, > > Anthony Liguori OK.