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 1D3DFC433E0 for ; Thu, 4 Feb 2021 18:46:27 +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 746FE64DD6 for ; Thu, 4 Feb 2021 18:46:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 746FE64DD6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7je5-0003S9-Dm for qemu-devel@archiver.kernel.org; Thu, 04 Feb 2021 13:46:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7iqe-0004TA-7q for qemu-devel@nongnu.org; Thu, 04 Feb 2021 12:55:20 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:38948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1l7iqb-0004NB-1U for qemu-devel@nongnu.org; Thu, 04 Feb 2021 12:55:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612461315; h=from:from:reply-to:subject:subject: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=FbZhwk8arZ3id85PAVCut0GHdvLUy82BHiibvcrjP6s=; b=TsZITEMpyIB5kknYz/U9zop2K2CdNMlKTIIm0E9sNKwWS5PJAEUO0NfuM5KpWqJ+GWG1wH l529nKZFhpct/9+VYEo9tX7IcIxOSYVEUeYvVwfOPQwTa1HZO9dcmuAfOQ7TQlE3HNEd4e ljSVQ0XCgQ/w+n6hZw5245Zrx9wB+AQ= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-77-3DlSq4HmOr2lXbYJGLk2TQ-1; Thu, 04 Feb 2021 12:55:12 -0500 X-MC-Unique: 3DlSq4HmOr2lXbYJGLk2TQ-1 Received: by mail-wr1-f70.google.com with SMTP id l10so3245585wry.16 for ; Thu, 04 Feb 2021 09:55:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FbZhwk8arZ3id85PAVCut0GHdvLUy82BHiibvcrjP6s=; b=KkvNbTJOjWStv4ElrHa69X9zMNagWBLYd8w+Sq+VZDNaVVlsZjGUwiaEAvoIzEAvz+ V9x7Q1X4bYc7I13xjPT9zzd1ZM9x3lG0qce7WcsiDP441ENLaxu+DaX92IJZixEC2Ek5 M/8J3JAFUqvMwZz4yp+sVjUPiz7jUymUC73z0YJ4w4jFOaKLSUfmJWDvBPfK9WV6cT8f vj4nC3bqnasdUQUYumd/ulMM4ccLEBH6Kly8a2ek0rLbJE4x4vIGdVVQ0xEJiFQ2zCXl mqBHQezqneOLEC964TFZz6sXs76e3KNIrdNK4Ihyf6q3ocLAUSV5Af9atk+z6YXOGmDi m7yg== X-Gm-Message-State: AOAM531tv92XNAccjZaXZGHjJ+bWvbmOsLAB13JN+73p/8WlSPMMQ0bS IGlmJ5U+hJ3e+IngBCpFPWJRR5myp3qKS6mgilB2GDm5mBJIfLJpxEKFcmQeUNeC55J2DMyD36+ TxDlf86AMThsBzRY= X-Received: by 2002:a05:6000:1788:: with SMTP id e8mr532941wrg.171.1612461311812; Thu, 04 Feb 2021 09:55:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyprdrNcJGtB8AnLh9wuUUzFS9B28xPxIvARkmUIZt6E5Dc9+VPE4w0YIYEcN8KEKtOlD7BXg== X-Received: by 2002:a05:6000:1788:: with SMTP id e8mr532930wrg.171.1612461311643; Thu, 04 Feb 2021 09:55:11 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id p9sm9297428wrj.11.2021.02.04.09.55.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Feb 2021 09:55:10 -0800 (PST) To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Wainer dos Santos Moschetta , qemu-devel@nongnu.org References: <20210204135425.1380280-1-wainersm@redhat.com> <516694bd-42fe-7929-811b-545f257c58bf@redhat.com> <0e0f9745-fe21-0bc6-2d02-431d67a6b57e@redhat.com> <573fa4c4-6092-09ac-be49-0cc18af72a1a@redhat.com> From: Paolo Bonzini Subject: Re: [RFC] Move tools sources to the tools directory (was Re: [PATCH v2] MAINTAINERS: Fix the location of tools manuals) Message-ID: Date: Thu, 4 Feb 2021 18:55:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <573fa4c4-6092-09ac-be49-0cc18af72a1a@redhat.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=216.205.24.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -32 X-Spam_score: -3.3 X-Spam_bar: --- X-Spam_report: (-3.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.351, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.182, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: kwolf@redhat.com, peter.maydell@linaro.org, "Dr. David Alan Gilbert" , Max Reitz , Greg Kurz , stefanha@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 04/02/21 18:42, Philippe Mathieu-Daudé wrote: > On 2/4/21 3:40 PM, Paolo Bonzini wrote: >> On 04/02/21 15:22, Wainer dos Santos Moschetta wrote: >>>>> -F: docs/interop/virtfs-proxy-helper.rst >>>>> +F: docs/tools/virtfs-proxy-helper.rst >>>> >>>> Unrelated, but Paolo once said helpers are not tools. >> >> I think helpers is not a good word.  However, if an executable: >> >> - can be started directly by QEMU, or is not useful without an emulator >> >> - is usually too complex for a user to run manually >> >> then it should be documented in docs/interop (not docs/tools).  Their >> sources however can be in tools/, that's not a problem at all. > > I understand tools can be built/used standalone (no dependence), > while helpers are companion of another binary, thus dependent on it: > > - we can build tools without emulator > - it is probably pointless to build an helper without its helpee > - some binaries can't be use without helpers > > Maybe "companion" is a better candidate to describe? I don't think we use the word helper anymore in the build system, so really the only thing left is whether the documentation goes in tools/ or interop/. The sources can be in tools/ unconditionally if people decide that's desirable, either with or without subdirectories. I didn't propose that because the Meson change was big enough and it can be the decision of individual maintainers. Moving the individual tools is easy enough, since most of them are just one source file, however moving the executables would require changes in the tests and son on. Paolo