From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkZHp-0006rm-C3 for qemu-devel@nongnu.org; Wed, 14 May 2014 09:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkZHj-0002S1-8m for qemu-devel@nongnu.org; Wed, 14 May 2014 09:31:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkZHj-0002Rq-1Y for qemu-devel@nongnu.org; Wed, 14 May 2014 09:31:51 -0400 Message-ID: <5373701C.7040902@redhat.com> Date: Wed, 14 May 2014 15:31:08 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1395244138-8834-1-git-send-email-stefanha@redhat.com> <1395244138-8834-2-git-send-email-stefanha@redhat.com> <53736F44.5040400@suse.de> In-Reply-To: <53736F44.5040400@suse.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC 1/5] qdev: add child alias properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Andreas_F=E4rber?= , Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Peter Maydell , fred.konrad@greensocs.com Il 14/05/2014 15:27, Andreas F=E4rber ha scritto: >> > +PropertyInfo qdev_prop_child_alias =3D { >> > + .name =3D "ChildAlias", > Won't this turn into the QMP-exposed type of the property? That would b= e > wrong then, requiring per-type alias property types. They could be > macro-automated of course, if we need them. > > Paolo had cleaned up type names to match QAPI schema for 2.0, CC'ing. Replying to this patch series has been on my todo list for a long time... I think we should avoid making the ChildAlias property a qdev property.=20 This means redoing how "-device foo,help" works, so that it includes=20 QOM properties as well. Paolo