From patchwork Fri May 5 15:53:31 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: 679305 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp437651wrs; Fri, 5 May 2023 08:54:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66fjPoGvRx/z7ixdQb5WGuA/q9wYlKk7ruEJcwaH8YI5nltg4ZASjkgk1MWN8QTBAzyz8W X-Received: by 2002:ad4:5e88:0:b0:61b:6e28:5c3a with SMTP id jl8-20020ad45e88000000b0061b6e285c3amr3288862qvb.27.1683302041545; Fri, 05 May 2023 08:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683302041; cv=none; d=google.com; s=arc-20160816; b=JN6ogZILcvgsTy01xs/uwZLZnhKa9xMCD62x2Y8jODCr6JOVJ+acCRr54YOvgRYSwx rTlEN16Q+eRjDjCeyhUgWO7WUH3yssDiFV8g0FBVHVymwmdONja/t65XPHtzj4aRAdgK 8QdTlwJ1EdM54gQI4SiVNULwBYOhaSiIjVfU+3yCSHrJVTbW3powjywWSlfyHP346CV9 7kK1FzS2Tlej2fwKJ1sLqklxxj88sCKYvPCEkalbJRqQKGMLKL/hzXDDXbfezY7YNTh9 TbYtWD4yKaRP0BXRHW0pUg+3Cn24D+IcHl9svNBnL0GQqAWp3ME1BLddsBtugK+qUXvi yISA== 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=v20eKJJJVW047Oo0oTM1wQXqOht2ZgPK9mBl9bJ8pSc=; b=ZYH6f+KymvJG/wN/ODBEjyufs6i2k1CC+DLzMBlmKUuQcPs+S6+NAcXLfdtSSvFc+I gbQN8BKtgMN2NeaaTlVs8dB1c8ArxG1DhbyS311hPHmAd3aZHSjwUtYVs2cHQKvNNOTf CEZDqFqZRL4Mic+wHegYENgtd6OAV+MSIl6iUjGKA2a6i7c6cNvmwfIGQjOJuf/Mmg8p Vstl8oSYfKwnk4nGa3LqxWNNNXDkaAfkbcjigU/HkP4XZnMYfAZWK9KHysOXW3ByBgLC N0+f+WwAflrUu4WWtNUqFEEetBP9B3Ty0sXit5sNUImtj44SGhYRHmkU3j3rOkKESHNB k68Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VLlTXE2z; 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 u5-20020ad45aa5000000b005f0e336102esi712417qvg.316.2023.05.05.08.54.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 May 2023 08:54:01 -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=VLlTXE2z; 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 1puxkk-0003PO-LZ; Fri, 05 May 2023 11:53:50 -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 1puxke-0003LR-LT for qemu-devel@nongnu.org; Fri, 05 May 2023 11:53:44 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puxkc-0008DF-Cm for qemu-devel@nongnu.org; Fri, 05 May 2023 11:53:44 -0400 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-2f95231618aso1335725f8f.1 for ; Fri, 05 May 2023 08:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683302019; x=1685894019; 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=v20eKJJJVW047Oo0oTM1wQXqOht2ZgPK9mBl9bJ8pSc=; b=VLlTXE2z8p9t2Sm42UpKGi9VxkBaSZTpMnPl9EnsCEgNHMWALAr1NYn9gVwyac3Wn8 JfydF7+E5vl2ncV3KOjfuHwmH2IZ9dPSTP2RGWK9Y9ZGCP8grvUyy5kwU9ehWM8nRT5Z hv7WjhmQXwzTXBSmgoKTCrBP3wINIVLBni1ywcC1iWh4mk4xrjW0eNl782EJTCPJz2kP 7/lYwbLqrk8v+B8/zX6M25yvXJDVzbziaRyvUjvM8R8wgwmtEdESuBddIG5yfLtS3btu brvtgLXlphhgTZ9xCd929602JuDqeV/CnJ7PqbXHakNb0IznPYuSZNUBrCGaOvVHNiIG B5nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683302019; x=1685894019; 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=v20eKJJJVW047Oo0oTM1wQXqOht2ZgPK9mBl9bJ8pSc=; b=kSkEOUNRDVOU+pspVoPk7HB7u53MuqC7RYfBgQV6gbJJoUT21mL+wfJkNIsMdYpZ6m wPZ3gq+fGXBm6rYUS/fdXzE+qu/aJCuvic1L2+k+RI2qbds1E2fhu4omZE2HNYWKIiZu bE7Rk6IxMy5f5R/am14HHS8vH5HGMbE41SRDrsauOZB1vWIdXOY1aKwoeZWlHIWl0HnP XV42zdMkfC56wvwmrRaO9Qgob/R6zkWd4OrRL21c4dOugRFWEaHcsAOeOb2jhUDI8zJA FUlCRLWkmLv02d3ckwqtbVOQzlRCqHzi5fBWkLFChLiCqbCWe4P1vc3NPu42e/ItZqQU Lckw== X-Gm-Message-State: AC+VfDw8IZlAW1ZJVQCFzg6U+jNrQzdMTgYFaaFAql+quyt9hco6bDOl d0fiK4tm1cAWGQCdsuK5WtAMYw== X-Received: by 2002:a5d:6711:0:b0:306:39f5:e1a8 with SMTP id o17-20020a5d6711000000b0030639f5e1a8mr1687533wru.14.1683302019526; Fri, 05 May 2023 08:53:39 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id n2-20020a05600c294200b003f17eded97bsm8391476wmd.19.2023.05.05.08.53.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 08:53:39 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 236B31FFC0; Fri, 5 May 2023 16:53:37 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Christian Schoenebeck , Michael Roth , Eric Blake , Paolo Bonzini , Greg Kurz , Eduardo Habkost , Yanan Wang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Kyle Evans , Warner Losh , Richard Henderson , Markus Armbruster , Riku Voipio , =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH v3 05/10] qapi: make the vcpu parameters deprecated for 8.1 Date: Fri, 5 May 2023 16:53:31 +0100 Message-Id: <20230505155336.137393-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230505155336.137393-1-alex.bennee@linaro.org> References: <20230505155336.137393-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42c.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 Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20230503091756.1453057-6-alex.bennee@linaro.org> --- 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 #