From patchwork Wed May 3 09:17:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 678829 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp948181wrs; Wed, 3 May 2023 02:18:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7nI5+kinlLjTHuPFPku+A+XpKdcJGd4+SGdZLEdEIubmCuk1vgibQbEli3vpgP96nIQQxh X-Received: by 2002:ac8:5746:0:b0:3ef:5a4d:a755 with SMTP id 6-20020ac85746000000b003ef5a4da755mr28434857qtx.38.1683105531074; Wed, 03 May 2023 02:18:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683105531; cv=none; d=google.com; s=arc-20160816; b=fhLEJMjnMOCwJ7xpy5hpZWarcLELjnEDWIRdcTy1+YE4qM3DnLyuh/AFrrJhJbHk1h 5wBbR5cBzVOYqbczyEsfrtAYHROcTR1LmmNP9DxpK2Dfocp9/GCKrQu+w8ktIDCLsVw/ /DdwhEXPn3ZnD7IpNYCYA8o/jW/s1vGtBWxMt3pGWi49TKmu2fdOxX47P/gLghp7cYDy 6HApAgaaUlxuuOZCj8BfaGxhIcmvznAspnYqEVy7s/hJSbyhMeDeB6w1A5E/T2rCqKEa 8p+6kUvMafQkQ+8fy86zz+wwBADE4bfiGk0oKdOOlAOK8XaFVvBfWeeZtJthA4yXoXy3 b4gw== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=HhmcuF0/XnbOqyb1HjLMiE2Zylh3hHKPmhLHcsVGruI=; b=RLKpJRk/IHZa6a8ZvxlGfuAsplbrkG6az1UzVi/NkJL2XKtuBV5V+QcYN6HmGROzN5 YkRKiRujOicxA/0FyUJ/uRQbKqwqOCAmbuNAh/GswWEy40Y+h1QI+rydVS+ZXEBKwoZL jPY7KEtl5TdZAVsonpBR/v/l7A7GGMQfPK7tlq11hbMQBeZsHHHIKrR1vUDb0g0msXd9 zKVcXNeLcw8UUQTrm5V5dD8xFqkbsFqPfrqIaP6GSevgDMUXZR07s6sH2efbyU0hX4oc BaOw17hh+j1tIVn2Mk3UpInjKzIt3mmtGfTxrAQ5MGc3rJ625YFQ0s+lHuK9mqJDdL75 rDgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qLEp+nG1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s4-20020a372c04000000b007495615363csi17616808qkh.466.2023.05.03.02.18.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2023 02:18:51 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=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=@linaro.org header.s=google header.b=qLEp+nG1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pu8ch-0003Jo-QD; Wed, 03 May 2023 05:18:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pu8ce-0002wt-4H for qemu-devel@nongnu.org; Wed, 03 May 2023 05:18:04 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pu8cb-0000Lt-Lt for qemu-devel@nongnu.org; Wed, 03 May 2023 05:18:03 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-2f58125b957so4864440f8f.3 for ; Wed, 03 May 2023 02:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683105480; x=1685697480; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HhmcuF0/XnbOqyb1HjLMiE2Zylh3hHKPmhLHcsVGruI=; b=qLEp+nG1f3adaolUGZ6GSck6bsB3/e8KafzOWa7UzMgPRSBsU6B0jg8Pobyoy0X4ky EbnW/W59JcXvrVmBDDRs/JzGlBAYmnA+sPaMUOaNIVQlAiv886VoxDg8s5GcUF4X6ol8 70hSXHVoQR1HbyxDL0Opm/GePhPXsTLBgbCmpelh3vizn7a2lkHjAczFMhhhxUeG4JSU VlfNP+cw3ikIKl0DlzaXSRg2hx51Kg3R+DQ8QYZ2JOnV5BS/QlBqqXD3TNQO/gNr9Ijh MAc0xDUrR6kqrJode+ZFj6j3LfDeFgvzjO+q/KgiQl6BccVKHEG5e//WCSKmrRlTRg4U D36Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683105480; x=1685697480; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HhmcuF0/XnbOqyb1HjLMiE2Zylh3hHKPmhLHcsVGruI=; b=RrSsECf20xW4JVHHqQkpxWiB1bKK+CJ675o2+vAtXEz+al9a54UE9bv5KEW3fj75xa p8K9HAU+ZvrefcILp7VTlF/X903++U+OjOjI3TzuZVCqPmPgxc25Zm/qLQb6SvPBWWCQ j5dp0VcZUOOPRaFfIjRCTLbWEUC2obJLi5A5YAjTmPPmi75M5un3Efn33H27tZvpqo49 gtodJWcY9KvpuAEwwJ+LW2AdaZYN+zdJQpDiyScyNWlphHmU+nZRNgD52EQb25YkCLnC dd9BOv1qog8urzDhjJ7TRaThHTqoC7iRUkmyt/SYMpX40ZlZxB9VGXJZ1GkY4byuympf cSnQ== X-Gm-Message-State: AC+VfDwCJoX9QPfNeZf5O2r+OZ8rjgg86Da3pFaO3bnRPVYeLoBZmVWH ADCwNMQw1RXEPdMFry/qwl+WVQ== X-Received: by 2002:adf:cc85:0:b0:306:34ae:6a16 with SMTP id p5-20020adfcc85000000b0030634ae6a16mr4304809wrj.35.1683105480039; Wed, 03 May 2023 02:18:00 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id t15-20020adfe10f000000b00304832cd960sm23319951wrz.10.2023.05.03.02.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 02:17:59 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 88B951FFC2; Wed, 3 May 2023 10:17:57 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org, Stefan Hajnoczi Cc: Marcel Apfelbaum , Kyle Evans , Paolo Bonzini , Riku Voipio , Yanan Wang , Eduardo Habkost , Greg Kurz , Warner Losh , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Christian Schoenebeck , Richard Henderson , Eric Blake , Michael Roth , Markus Armbruster , =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH v2 05/10] qapi: make the vcpu parameters deprecated for 8.1 Date: Wed, 3 May 2023 10:17:51 +0100 Message-Id: <20230503091756.1453057-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230503091756.1453057-1-alex.bennee@linaro.org> References: <20230503091756.1453057-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-devel@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-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org I don't think I can remove the parameters directly but certainly mark them as deprecated. Message-Id: <20230420150009.1675181-6-alex.bennee@linaro.org> Reviewed-by: Stefan Hajnoczi Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson --- qapi/trace.json | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/qapi/trace.json b/qapi/trace.json index f425d10764..de6b1681aa 100644 --- a/qapi/trace.json +++ b/qapi/trace.json @@ -33,9 +33,9 @@ # # @name: Event name. # @state: Tracing state. -# @vcpu: Whether this is a per-vCPU event (since 2.7). +# @vcpu: Whether this is a per-vCPU event (deprecated since 8.1). # -# An event is per-vCPU if it has the "vcpu" property in the "trace-events" +# There are no longer any events with the "vcpu" property in the "trace-events" # files. # # Since: 2.2 @@ -49,19 +49,15 @@ # Query the state of events. # # @name: Event name pattern (case-sensitive glob). -# @vcpu: The vCPU to query (any by default; since 2.7). +# @vcpu: The vCPU to query (deprecated since 8.1). # # Returns: a list of @TraceEventInfo for the matching events # # An event is returned if: # # - its name matches the @name pattern, and -# - if @vcpu is given, the event has the "vcpu" property. # -# Therefore, if @vcpu is given, the operation will only match per-vCPU events, -# returning their state on the specified vCPU. Special case: if @name is an -# exact match, @vcpu is given and the event does not have the "vcpu" property, -# an error is returned. +# There are no longer any per-vCPU events # # Since: 2.2 # @@ -84,17 +80,13 @@ # @name: Event name pattern (case-sensitive glob). # @enable: Whether to enable tracing. # @ignore-unavailable: Do not match unavailable events with @name. -# @vcpu: The vCPU to act upon (all by default; since 2.7). +# @vcpu: The vCPU to act upon (deprecated since 8.1). # # An event's state is modified if: # -# - its name matches the @name pattern, and -# - if @vcpu is given, the event has the "vcpu" property. +# - its name matches the @name pattern # -# Therefore, if @vcpu is given, the operation will only match per-vCPU events, -# setting their state on the specified vCPU. Special case: if @name is an exact -# match, @vcpu is given and the event does not have the "vcpu" property, an -# error is returned. +# There are no longer and per-vCPU events so specifying it will never match. # # Since: 2.2 #