From patchwork Thu Apr 20 15:00:04 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: 675624 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp364555wrs; Thu, 20 Apr 2023 08:01:42 -0700 (PDT) X-Google-Smtp-Source: AKy350aosGjjRXISvxnEfQ3e1dBaE78eiPdY5XwLT7Xjna0oegBvbkAzij9Q17GYYl5oFzyT5My7 X-Received: by 2002:a67:b448:0:b0:42e:6ad6:cf90 with SMTP id c8-20020a67b448000000b0042e6ad6cf90mr1207131vsm.27.1682002901864; Thu, 20 Apr 2023 08:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682002901; cv=none; d=google.com; s=arc-20160816; b=iq0yjM9skGzK99EGT+cyMg17S21+STx3+vMaO15C0LuBm3n63nKwGILCIi6ZV6fvAy meGuJlIUejp3RS/NUKucIEv8HZFvUZ8jRveMSSS88DLWe6G5hbu3dUPeY3XUtSXf+VP+ 30Of2xubxLrXK2jFMU4WDNQPEbs/4au3U1e9XLn0cEu64w808Msg+V6f6tqHm9p5OLVx I2ffOpqqUdVVbj+T2snrJl+Yx23ApG1TIU64Ocpdnw4I/ZJjAsLxZmWlVuxs2SJz1wPU UApT/08GXKuNG7SnViHF7SiKhWFrAN5XtN72Tob5ooMhhPxyjVgix2+9ZW53OzKVTu8q kFiQ== 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=7c0u+6tu/GA25VLPoFXf3gYwuh1yw4lMCNZi+OT6T50=; b=zmfK+GgOSRzgDIZaQwVKqH0n5zP01pV82M8tlOn4A0qnNK+pXWjIl3/jhzk98XO1IX OCfDNk0EvOKnifapruQd1arTXK81NtEWVg+6rtFHin9k1gIKyIXyMsSQrEYk9oSLaum3 NcJjP8Tq4mp00uWxDjpFn2V8wuvOEMo+IjAfd+oaeGiLlQkeq3DLfQY/W3a0IX8iCed6 j0v3+VbPLasBJdM0lBz9G/mD8qF9yQwMlroIzld7el8woEP8qy+xpW5xG81/Ys0KLlvA WIgA382Y7AfUgduekiQ/C85kq5tH0u2H75COtsc8sY91VPoFa55jDR87HknUJckojRsS 0xLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Jlfv/8yK"; 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 i19-20020a0561020a5300b004300aa3e069si467736vss.825.2023.04.20.08.01.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Apr 2023 08:01:41 -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="Jlfv/8yK"; 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 1ppVlv-0003t4-1h; Thu, 20 Apr 2023 11:00:31 -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 1ppVlt-0003rY-MW for qemu-devel@nongnu.org; Thu, 20 Apr 2023 11:00:29 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppVle-00046f-SL for qemu-devel@nongnu.org; Thu, 20 Apr 2023 11:00:29 -0400 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-2f7a7f9667bso432212f8f.1 for ; Thu, 20 Apr 2023 08:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682002813; x=1684594813; 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=7c0u+6tu/GA25VLPoFXf3gYwuh1yw4lMCNZi+OT6T50=; b=Jlfv/8yKBbDTOyaR/7kh9FT64Lzji0y07XTUMtLuH5raeSVVEi/Uf1lE5Sy1YkSIoR OHrtkxuOi/qtlpN5q8vv2vyjWAMbWAL59GmdmAskqTtjbz8mrvaGtdbmfrskUiGSj7hD iREMFoWA8gr/Cga8ipE7xKLQK3TY1nx5f3Uwn9IW5v1xHhj1CLoZABHS+M0e50fojOAb Py8yPYgo7LlQm9vXxfP9Pl7PvaDvTASQxeS5CY0tTq+4NpliZnTvEhfc/0+cklg+AjTk M8+tntnj3P3If/crMUvSiIsW5VwRhJjuY7BR6eXAzY0ZJv0unbEVMG4CPxpB4aWCKgjl U0nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682002813; x=1684594813; 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=7c0u+6tu/GA25VLPoFXf3gYwuh1yw4lMCNZi+OT6T50=; b=YHlIt5LLilSnfq26NpyoogW5sDLMGd3VGV1JQ3LmSpmiXC2RjKSB25f0qtovoLgk88 EVR8NOcJmcTQRKfuG3k2xrVokTIQbpx1uaf4rwCoFy8/2LJzD8xavR1Uk+qOkCYh06JG 0mGFDiDWNVK5BYnxUamYm8f/97+7tCXidFDdlJPq0gqiSmFBr56NcDGrKmF6oBwdc1xO iLrtgg56fcGno/1CV76VwcCOmkpC+ZjHkykK/xVvXHUp46cHbkQUS52Mc4CxUyvSciJA Q2ODH5LNWZGGGkopPa0eQzf7aC96Sspkv3d4/z20H2GW6i44gNvgePzS3bNc6XH+MtNi EEvQ== X-Gm-Message-State: AAQBX9fDar8eXJqkvA7f1+jfwluSVus7jFo9K88Fk6WHmEbwIij2F2Ye axlTPZvvsbq2E+bUqjg1hTHMLw== X-Received: by 2002:a5d:5442:0:b0:2f5:930:39b1 with SMTP id w2-20020a5d5442000000b002f5093039b1mr1546684wrv.38.1682002813492; Thu, 20 Apr 2023 08:00:13 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id q13-20020adfcd8d000000b002d7a75a2c20sm2110041wrj.80.2023.04.20.08.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 08:00:12 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 82D7B1FFBD; Thu, 20 Apr 2023 16:00:10 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Michael Roth , Riku Voipio , Christian Schoenebeck , Yanan Wang , Greg Kurz , Richard Henderson , Kyle Evans , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Stefan Hajnoczi , Eric Blake , Markus Armbruster , Warner Losh , Paolo Bonzini , Marcel Apfelbaum , =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH 05/10] qapi: make the vcpu parameters deprecated for 8.1 Date: Thu, 20 Apr 2023 16:00:04 +0100 Message-Id: <20230420150009.1675181-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230420150009.1675181-1-alex.bennee@linaro.org> References: <20230420150009.1675181-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.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, 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. Signed-off-by: Alex Bennée --- qapi/trace.json | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/qapi/trace.json b/qapi/trace.json index 6c6982a587..74dd66ef4a 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,16 +80,12 @@ # @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 #