Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdQ4l-0003PI-KB for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:49:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdQ4l-0003Ou-4J for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:49:43 -0400 Received: from [199.232.76.173] (port=50525 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdQ4k-0003Og-Rp for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:49:42 -0400 Received: from mx2.redhat.com ([66.187.237.31]:47206) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KdQ4k-0000eY-GO for qemu-devel@nongnu.org; Wed, 10 Sep 2008 09:49:42 -0400 Date: Wed, 10 Sep 2008 10:48:49 -0300 From: Glauber Costa Message-ID: <20080910134849.GA17969@poweredge.glommer> References: <1220978258-30894-1-git-send-email-dmitry.baryshkov@siemens.com> <20080909164955.GD7490@poweredge.glommer> <48C77583.5070003@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C77583.5070003@siemens.com> Subject: [Qemu-devel] Re: [PATCH 1/2] qemu-accel: unbreak non-default accelerators Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Dmitry Baryshkov , qemu-devel@nongnu.org, Glauber Costa On Wed, Sep 10, 2008 at 09:21:39AM +0200, Jan Kiszka wrote: > Glauber Costa wrote: > > On Tue, Sep 09, 2008 at 08:37:37PM +0400, Dmitry Baryshkov wrote: > >> Make noaccel accelerator "registered" early so that > >> kqemu has a change to be enabled (it's registered > >> via __constructor__ feature, so called before main()). > > fyi: we're probably changing that. There has been a lot of mail exchange > > this days about the general acceptability of this feature, and the overall > > [ That was a private discussion, I guess. ] No. That was on list, triggered by Gerd. But right now I can't remember how it started. > > > feeling is that it's a negative construct. So if the problem you hit happens because > > the constructor itself, it's probably worthy to drop it altogether, and invest time > > in a new method for registering the accelerators. > > Do you plan to update/rebase QEMUAccel in the near future? Or what is > the short-term roadmap of this approach? I plan to update it as soon as I finish the memory rework I'm doing, with a somewhat broad definition of "finish" (they don't need to be accepted, just be in a more definitive shape). I expect it to happen somewhere next week.