From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apin6-0007eW-QK for qemu-devel@nongnu.org; Mon, 11 Apr 2016 16:50:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apin3-00042W-Kz for qemu-devel@nongnu.org; Mon, 11 Apr 2016 16:50:36 -0400 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:32882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apin3-00042S-DE for qemu-devel@nongnu.org; Mon, 11 Apr 2016 16:50:33 -0400 Received: by mail-lf0-x231.google.com with SMTP id e190so173000864lfe.0 for ; Mon, 11 Apr 2016 13:50:33 -0700 (PDT) References: <1459870344-16773-1-git-send-email-alex.bennee@linaro.org> <1459870344-16773-9-git-send-email-alex.bennee@linaro.org> From: Sergey Fedorov Message-ID: <570C0E16.1030304@gmail.com> Date: Mon, 11 Apr 2016 23:50:30 +0300 MIME-Version: 1.0 In-Reply-To: <1459870344-16773-9-git-send-email-alex.bennee@linaro.org> 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: =?UTF-8?Q?Alex_Benn=c3=a9e?= , mttcg@listserver.greensocs.com, fred.konrad@greensocs.com, a.rigo@virtualopensystems.com, cota@braap.org Cc: qemu-devel@nongnu.org, mark.burton@greensocs.com, pbonzini@redhat.com, jan.kiszka@siemens.com, rth@twiddle.net, peter.maydell@linaro.org, claudio.fontana@huawei.com, Peter Crosthwaite , =?UTF-8?Q?Andreas_F=c3=a4rber?= On 05/04/16 18:32, Alex Bennée wrote: > diff --git a/qemu-options.hx b/qemu-options.hx > index a770086..4eca704 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -3224,6 +3224,20 @@ Attach to existing xen domain. > xend will use this when starting QEMU (XEN only). > ETEXI > > +DEF("tcg", HAS_ARG, QEMU_OPTION_tcg, \ > + "-tcg [mttcg=on|off] control TCG options\n", QEMU_ARCH_ALL) > +STEXI > +@item -tcg > +@findex -tcg > +@table @option > +@item mttcg=[on|off] > +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? Kind regards, Sergey