From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlEjh-0001K2-9d for qemu-devel@nongnu.org; Mon, 25 Jul 2011 02:33:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlEjf-0006v4-TF for qemu-devel@nongnu.org; Mon, 25 Jul 2011 02:33:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlEjf-0006uo-MC for qemu-devel@nongnu.org; Mon, 25 Jul 2011 02:33:51 -0400 Message-ID: <4E2D0E48.6000407@redhat.com> Date: Mon, 25 Jul 2011 08:33:44 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1310742615-23901-1-git-send-email-pbonzini@redhat.com> <4E21A2B6.50100@codemonkey.ws> <4E2C685D.6010002@redhat.com> <4E2C6B1A.4090804@codemonkey.ws> <9CC188C2-0991-42C5-A02E-425ED1F5135A@web.de> <4E2CCAD5.7030904@codemonkey.ws> In-Reply-To: <4E2CCAD5.7030904@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] report serial devices created with -device in the PIIX4 config space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: =?ISO-8859-1?Q?Andreas_F=E4rber?= , qemu-devel@nongnu.org, armbru@redhat.com On 07/25/2011 03:45 AM, Anthony Liguori wrote: > The getters lack type safety though which is unfortunate. That said, I > guess it's the best we can do with qdev. You can assert on type mismatch though, just like with setters. Paolo