From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJQHZ-0000jq-BP for qemu-devel@nongnu.org; Wed, 03 Oct 2012 10:50:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJQHT-0005Zs-Mi for qemu-devel@nongnu.org; Wed, 03 Oct 2012 10:50:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJQHT-0005Zi-EU for qemu-devel@nongnu.org; Wed, 03 Oct 2012 10:50:35 -0400 Message-ID: <506C50B7.8030004@redhat.com> Date: Wed, 03 Oct 2012 16:50:31 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1349270954-4657-1-git-send-email-ehabkost@redhat.com> <1349270954-4657-2-git-send-email-ehabkost@redhat.com> <506C4DD2.5060206@redhat.com> <20121003144817.GQ15784@otherpad.lan.raisama.net> In-Reply-To: <20121003144817.GQ15784@otherpad.lan.raisama.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 01/18] pc: create "PC" device class List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Igor Mammedov , qemu-devel@nongnu.org, Gleb Natapov , =?ISO-8859-1?Q?Andreas_F=E4rber?= Il 03/10/2012 16:48, Eduardo Habkost ha scritto: >> > >> > Does it need to be a Device, or can it be a normal Object (or for >> > clarity a derivative of TYPE_CONTAINER)? > It needs to be a Device because that's the only way to use global > properties, today. > > I have some experimental patches that allow normal objects to get global > properties set (as long as an explicit call to a > object_set_global_props() function is made). Would that be preferrable? That's nice, though there would be the question of when to call the function... I suppose instance_init would do. Paolo