From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3oTY-0000UB-8A for qemu-devel@nongnu.org; Tue, 12 May 2009 05:40:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3oTT-0000Sn-Q4 for qemu-devel@nongnu.org; Tue, 12 May 2009 05:40:39 -0400 Received: from [199.232.76.173] (port=60173 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3oTT-0000Sj-JI for qemu-devel@nongnu.org; Tue, 12 May 2009 05:40:35 -0400 Received: from mx2.redhat.com ([66.187.237.31]:45270) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3oTT-0001TE-4C for qemu-devel@nongnu.org; Tue, 12 May 2009 05:40:35 -0400 Message-ID: <4A094392.3020000@redhat.com> Date: Tue, 12 May 2009 11:38:26 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/4] Add module infrastructure to QEMU References: <1242052009-27339-1-git-send-email-aliguori@us.ibm.com> <1242052009-27339-2-git-send-email-aliguori@us.ibm.com> <20090511215325.GB18336@game.jcrosoft.org> <4A08A087.9050708@us.ibm.com> In-Reply-To: <4A08A087.9050708@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Jean-Christophe PLAGNIOL-VILLARD , qemu-devel@nongnu.org, Paul Brook On 05/12/09 00:02, Anthony Liguori wrote: > Jean-Christophe PLAGNIOL-VILLARD wrote: >> why not use the constructor priority? > > We're just using constructors to register our real constructors so > priority wouldn't really help us in the gcc constructors. Hmm? Just call the real constructors in the order they are registered by the (prioritized) gcc constructors should do the trick, no? cheers, Gerd