From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrtbS-00079y-OF for qemu-devel@nongnu.org; Mon, 11 May 2015 15:43:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrtbP-0005Cf-Iu for qemu-devel@nongnu.org; Mon, 11 May 2015 15:43:02 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:32822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrtbP-0005BI-Cd for qemu-devel@nongnu.org; Mon, 11 May 2015 15:42:59 -0400 Received: by wief7 with SMTP id f7so94362838wie.0 for ; Mon, 11 May 2015 12:42:54 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <5551063B.2030708@redhat.com> Date: Mon, 11 May 2015 21:42:51 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1429829878-26862-1-git-send-email-minyard@acm.org> <1429829878-26862-3-git-send-email-minyard@acm.org> <20150426105502-mutt-send-email-mst@redhat.com> <554D2791.6070401@acm.org> <5550E641.2060108@suse.de> In-Reply-To: <5550E641.2060108@suse.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 02/17] ipmi: Add a PC ISA type structure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?windows-1252?Q?Andreas_F=E4rber?= , minyard@acm.org, "Michael S. Tsirkin" Cc: Corey Minyard , qemu-devel@nongnu.org On 11/05/2015 19:26, Andreas Färber wrote: > Another problem is that you're using object_new() in realize at all, > which means that it's too late for any management interface to tweak > properties on the new device. One possible solution would be to create > the object in a property setter, before realizing the object. Did you > look at how some of the other backends are implemented, such as rng? Note that this is not exactly a backend. It's a different guest-visible I/O interface. But there are no properties on the interface, so it's okay to create it at realize time. Paolo