From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 2002:ac2:596f:0:0:0:0:0 with SMTP id h15csp1205672lfp; Mon, 18 Jul 2022 02:59:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1smHAhAAbeplIPjxxNWgDvJXPWxGormNX65ac1M+NWqvx1i3VnKTk+HIB1TAYDsgsf+T3Lm X-Received: by 2002:a05:6214:1c4f:b0:473:7909:85e2 with SMTP id if15-20020a0562141c4f00b00473790985e2mr21259044qvb.69.1658138347321; Mon, 18 Jul 2022 02:59:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658138347; cv=none; d=google.com; s=arc-20160816; b=NMG4Bjg0GET1bYL2/hLLv4+v686IUep8CPqWGMnJ/OLUA1Wq9NWmRam4rppHlsu1QH seKt30/fNuZYiSuSV+G91Lso9o6UCr8xs0F/4MtZaejx0JEx8UbbpuMj5uzRlbzncRTM XUKhm8OibudD0mSXNtJkM8PPjg7ZDJc5uiRQY7jO58e0hjBdbd8U553PRjYYB7IcG9mB Gh/9fWkF8fk4NsNPrEdauXCwaudmrhqBJyD8ju8Utspmnf9fHfnqA1aNKzrtVZ1UYLRc rPL5BXDbJIGp6I0HYgp5V8nlqN80y0WbOUrIUX3HKaYs0H5qQrAC+li2YB5KYnwg9Fgv fP3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:user-agent:references:organization :in-reply-to:subject:cc:to:from:dkim-signature; bh=8RC28/19rL8+Sf+1qwBzTWLMUHeGZguk4g6w8ww5xXQ=; b=h8n77GUpaXcOjbF2naXOWROJO1vwKCrle0lY21gd5TBGdI/TyAm+V3/sVvKYXfpPZP nJg37Rm3In0A3nxRAOzzOkprnl7XhlbSw0fqbVcZDZDdL+B9PSqM6Eo8EihorO3e4X+Z heb1RyxJ4HmjgQOmzYfAR29ZEvoxJ/r7VgOgIhyiK9ocpGG/DB4utPVIsXK1LWMF0IHb 8CJui8nQ7b0hYkh84kKcCXG/k+79Fbt9CSzTW6Zw2IuqT9+PLQ9UEqa/t/LUfzSCaNy9 sByl0xTKeXmPim+5lhVYCZ3Y4W+uhq0uF2LzzeJ9QGo4vH6RZSH89xSfmGCSypE2PphX VOrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=A9czobt+; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id e11-20020a0562141d0b00b00472f1de95e7si3164952qvd.385.2022.07.18.02.59.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jul 2022 02:59:07 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=A9czobt+; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:52978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDNWs-00070s-QI for alex.bennee@linaro.org; Mon, 18 Jul 2022 05:59:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDNWb-0006xV-TO for qemu-arm@nongnu.org; Mon, 18 Jul 2022 05:58:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:27917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDNWa-0004XO-9T for qemu-arm@nongnu.org; Mon, 18 Jul 2022 05:58:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1658138327; 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=8RC28/19rL8+Sf+1qwBzTWLMUHeGZguk4g6w8ww5xXQ=; b=A9czobt+t7sxKcdPqhhtYJE+5BdmOSXFxrxGD4w2evhxna81+U7Y/rQfX/z0n7bcR25nw1 S7C+GyY7oHErnJH+hdO1LhvuMTVNaq9yaPR2LkBVCFv6plqkCzCzcxnI0H+Bcm0EP+JPux C9C477v/O7X/9nSFav0EkyBs7fqWaVc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-86-dZEHY1DtMWuB0dZvFhVxBQ-1; Mon, 18 Jul 2022 05:58:46 -0400 X-MC-Unique: dZEHY1DtMWuB0dZvFhVxBQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D432985A584; Mon, 18 Jul 2022 09:58:45 +0000 (UTC) Received: from localhost (unknown [10.39.193.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 897D12166B26; Mon, 18 Jul 2022 09:58:45 +0000 (UTC) From: Cornelia Huck To: =?utf-8?Q?Daniel_P=2E_Berrang=C3=A9?= Cc: Thomas Huth , qemu-devel@nongnu.org, qemu-s390x@nongnu.org, qemu-arm@nongnu.org, David Hildenbrand , Richard Henderson , Peter Maydell Subject: Re: [PATCH 0/3] target: RFC: display deprecation note for '-cpu help' In-Reply-To: Organization: Red Hat GmbH References: <20220714150735.1835166-1-berrange@redhat.com> <30e66f70-a004-6789-d66a-351becaa48e2@redhat.com> <87wncapxr4.fsf@redhat.com> User-Agent: Notmuch/0.36 (https://notmuchmail.org) Date: Mon, 18 Jul 2022 11:58:44 +0200 Message-ID: <87tu7epwrv.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 Received-SPF: pass client-ip=170.10.133.124; envelope-from=cohuck@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: PHbr1TAo9mxs On Mon, Jul 18 2022, Daniel P. Berrang=C3=A9 wrote: > On Mon, Jul 18, 2022 at 11:37:35AM +0200, Cornelia Huck wrote: >> Is it easy enough the figure out the deprecation note? I think you >> either have to actually start something with the deprecated entity, or >> use qmp (which is not that straightforward)? > > QMP doesn't tell you the note, just a boolean deprecation flag. It is > only printed on startup only right now. > > In the context of libvirt what happens is that libvirt can report that > something is deprecated (based on the QMP response). If you go ahead > and use it anyway, you'll get the deprecation message in the logfile > for the VM, and the VM gets marked tainted by libvirt, which serves > as a guide to look in the logfile. Hm... so, a user who notes via -help that 'foo' is deprecated does not really have a good way to figure out what they should use instead, other than actually trying to use 'foo'? Is that a use case worth spending some effort on, or do we consider it more of a niche case?