From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azjhj-00047g-73 for qemu-devel@nongnu.org; Mon, 09 May 2016 07:50:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azjhh-0000bx-9B for qemu-devel@nongnu.org; Mon, 09 May 2016 07:50:26 -0400 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:36060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azjhh-0000bj-3F for qemu-devel@nongnu.org; Mon, 09 May 2016 07:50:25 -0400 Received: by mail-wm0-x22b.google.com with SMTP id n129so134187389wmn.1 for ; Mon, 09 May 2016 04:50:24 -0700 (PDT) References: <1459870344-16773-1-git-send-email-alex.bennee@linaro.org> <1459870344-16773-9-git-send-email-alex.bennee@linaro.org> <570C0E16.1030304@gmail.com> <57306A65.6080405@redhat.com> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <57306A65.6080405@redhat.com> Date: Mon, 09 May 2016 12:50:41 +0100 Message-ID: <87a8jzzbzi.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC v2 08/11] tcg: add options for enabling MTTCG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Sergey Fedorov , mttcg@greensocs.com, fred.konrad@greensocs.com, a.rigo@virtualopensystems.com, cota@braap.org, qemu-devel@nongnu.org, mark.burton@greensocs.com, jan.kiszka@siemens.com, rth@twiddle.net, peter.maydell@linaro.org, claudio.fontana@huawei.com, Peter Crosthwaite , Andreas =?utf-8?Q?F?= =?utf-8?Q?=C3=A4rber?= Paolo Bonzini writes: > On 11/04/2016 22:50, Sergey Fedorov wrote: >>> > +Control multi-threaded TCG. By default QEMU will enable multi-threaded >>> > +emulation for front/back-end combinations that are known to work. The >>> > +user may enable it against the defaults however odd guest behaviour >>> > +may occur. >>> > +@end table >>> > +ETEXI >> Maybe we'd better use existing qemu accelerator framework and introduce >> "-machine accel=mttcg" option? > > Another possibility is "-accel tcg,thread=single|multi". That does seem a better choice. > > Paolo -- Alex Bennée