From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 123B0C48BE6 for ; Wed, 16 Jun 2021 12:24:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C2BCB61359 for ; Wed, 16 Jun 2021 12:24:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C2BCB61359 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:54726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltUaS-0003q9-NW for qemu-devel@archiver.kernel.org; Wed, 16 Jun 2021 08:24:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltUZn-00039J-Vf for qemu-devel@nongnu.org; Wed, 16 Jun 2021 08:23:24 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:34998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltUZm-0007cY-4I for qemu-devel@nongnu.org; Wed, 16 Jun 2021 08:23:23 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A913321A58; Wed, 16 Jun 2021 12:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623846198; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mqR2Zy3vKcxnYRvZodDZ9jnXunMrUoc+lSBnyaYRTbk=; b=HYSdTxRGZtX0Kf6k3DRpFvobGVsSfWRXzEdpTsPq/yu81nxBUTi9o51+7c3L59SvYvyAow XqREF2ry06mJGb9hFCC9RzmfXlV9WdRDeC3Pe99bAcd2YpfQe7xa/0jodFspTPv+Xh2FUc WkuGwXVQ5qQbiB9Zd1UquIYlj6NKxLU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623846198; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mqR2Zy3vKcxnYRvZodDZ9jnXunMrUoc+lSBnyaYRTbk=; b=Efi/Or0ppxQMGyTHZ1yLutxsr0yp4KVZOvZs+bMOmTwjCjomsMr81KyaEL3Mmh5Po90W8P PUYSauzOx/bzhBAA== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 532F2118DD; Wed, 16 Jun 2021 12:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623846198; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mqR2Zy3vKcxnYRvZodDZ9jnXunMrUoc+lSBnyaYRTbk=; b=HYSdTxRGZtX0Kf6k3DRpFvobGVsSfWRXzEdpTsPq/yu81nxBUTi9o51+7c3L59SvYvyAow XqREF2ry06mJGb9hFCC9RzmfXlV9WdRDeC3Pe99bAcd2YpfQe7xa/0jodFspTPv+Xh2FUc WkuGwXVQ5qQbiB9Zd1UquIYlj6NKxLU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623846198; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mqR2Zy3vKcxnYRvZodDZ9jnXunMrUoc+lSBnyaYRTbk=; b=Efi/Or0ppxQMGyTHZ1yLutxsr0yp4KVZOvZs+bMOmTwjCjomsMr81KyaEL3Mmh5Po90W8P PUYSauzOx/bzhBAA== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id 6AJIEjbtyWBdEQAALh3uQQ (envelope-from ); Wed, 16 Jun 2021 12:23:18 +0000 Subject: Re: [PATCH 0/4] modules: add support for target-specific modules. To: Gerd Hoffmann , =?UTF-8?Q?Jos=c3=a9_Ricardo_Ziviani?= References: <20210610101553.943689-1-kraxel@redhat.com> <5953598.eXybCX72BP@pizza> <20210615050930.bmgup2axfr7sqvoa@sirius.home.kraxel.org> <2963309.4TrVdrBa0x@pizza> <20210616092815.rjznyjnvgrrfojq6@sirius.home.kraxel.org> From: Claudio Fontana Message-ID: Date: Wed, 16 Jun 2021 14:23:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20210616092815.rjznyjnvgrrfojq6@sirius.home.kraxel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=195.135.220.28; envelope-from=cfontana@suse.de; helo=smtp-out1.suse.de X-Spam_score_int: -45 X-Spam_score: -4.6 X-Spam_bar: ---- X-Spam_report: (-4.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.17, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Michael S. Tsirkin" , "qemu-devel@nongnu.org" , Christian Schoenebeck , Greg Kurz , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Paolo Bonzini Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 6/16/21 11:28 AM, Gerd Hoffmann wrote: >>> Hmm, what would be the use case? Right now qemu has the all-or-nothing >>> approach for modules, i.e. if modules are enabled everything we can >>> build as module will be built as module, and I havn't seen any drawbacks >>> so far. So, why would one compile parts of qemu as module and other >>> parts not? >> >> From my point of view, as a QEMU package maintainer, the all-or-nothing module >> approach is great - specially for accelerators - because we can create a set >> of officially supported packages and another set of optional modules, that >> users may get them if they want to. > > Same here ;) > >> However, please correct me if I'm wrong, I understand that an accelerator as a >> module will add an overhead that some user won't be willing to pay. So, give >> them the option to have built-in accelerators seems a good idea. > > Modules add some overhead, yes, and there are surely use-cases where you Where do we expect the overhead to be, and of which nature? Do we already know about such an impact? Thanks, CLaudio > don't want accel modules. I would just expect people don't want the > other modules either then, but maybe I'm wrong. > > take care, > Gerd >