From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri4cT-0007HP-5a for qemu-devel@nongnu.org; Tue, 03 Jan 2012 08:41:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri4cS-0005VM-5Y for qemu-devel@nongnu.org; Tue, 03 Jan 2012 08:41:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri4cR-0005VG-VL for qemu-devel@nongnu.org; Tue, 03 Jan 2012 08:41:36 -0500 Message-ID: <4F03058A.5050601@redhat.com> Date: Tue, 03 Jan 2012 14:41:30 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1325551939-24749-1-git-send-email-aliguori@us.ibm.com> <1325551939-24749-11-git-send-email-aliguori@us.ibm.com> <4F02C501.5090000@redhat.com> <4F0304F5.9060506@codemonkey.ws> In-Reply-To: <4F0304F5.9060506@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 10/30] qdev: don't access name through info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Markus Armbruster , Anthony Liguori , qemu-devel@nongnu.org, =?ISO-8859-1?Q?Andreas_F=E4rber?= On 01/03/2012 02:39 PM, Anthony Liguori wrote: >> >> It's a pity that this loses type-safety. > > You mean at run time or because OBJECT() cast is so lose? We can fix > the later.. At compile-time, i.e. the latter. But no problem, I really think it should be fixed in the compiler. Paolo