From patchwork Thu May 30 07:45:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 800187 Delivered-To: patch@linaro.org Received: by 2002:a5d:65c4:0:b0:35b:5a80:51b4 with SMTP id e4csp107452wrw; Thu, 30 May 2024 00:46:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWCn0+htXIhJE/Ucegvwo8J13Ca0/dZBvOBXzCgISl4U643zG7SbV0Lp90dykP4OGa3DoYy9mq8dQtN7WC/TC5a X-Google-Smtp-Source: AGHT+IEcnb0Ge5VuqRKyOM401FkwT7oX3kMYlK1CCoPOdf1oeq4OZ/r9bK8yQqjTwp+UVvbC0Ofm X-Received: by 2002:a05:620a:5812:b0:792:c005:9798 with SMTP id af79cd13be357-794e9dab3fcmr145804685a.22.1717055205350; Thu, 30 May 2024 00:46:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717055205; cv=none; d=google.com; s=arc-20160816; b=kitkd11kzoJX7rKlPMHLKUiZMJkGzYlLNcLJUBc7+zawWooss6pU9lM9m47xOVpuGL qXYAsHnySMRbBvQHMdhdM+WZaWmNQd0/CEf6eYwFZ+7a4lAx33K7rFGwLbdrnfhIA+XM UKRF+9W/JI6dlYIj34Hl9Qf5pYSftnPKPtEyUXHuqOIu7k/YoDNz0InBhucw7m+Np6vc 8K9EQHmDK/tc6SiQKtUQ5EooCd/OcDWX/J6yNnuMnajEWcavW0xLN3UCjm/2jWqlnPSb +O75uMBfRVz8K23DEd2w6K91qPGuECtie5VFBKv+WxWkH+WQ2MzSs8RikD8foe7AHiCU jXBA== 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=01WlZSY18T45T+CzrK5D3m5TP/teYv3HLGHIpCdLE80=; fh=DSrTnMLgb2exUDLRzb3sc8yUZn+55eMJOKYB9zwrIQI=; b=Jggw2xOpEVJ9sS38D1YDlFJ+tUPDIaqVKK5elB+5d5bZGLGcy59gSGuPg1tMamFfeP GGxIHA6Oj3lLKy758h9Lwy6CraH87De+LGBbECmqO0zv0glGQh9yfZJ7RoGgcxZnUIKN 497nWxWspmaJhQNoJVAUaEHhAMiiFzJ7ydq5KImqXc+lJ96tTEJO1rS6vw1x0yC/6au9 0uXsUD+Dd57BxqvPMlWo6iwgT8XIaTfibIlhn8uQICbfqEufbDFLBpXJd13IAJlXpURB PKul18cJ1j8lbrzE7Nn3jaTJ5Dh6QvtkkZku8LRQcBWwc2oVpRiRs8bCRJAl85HDuRDJ QEUw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YaBFc0cg; 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 af79cd13be357-794abcab57dsi1422407585a.84.2024.05.30.00.46.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 May 2024 00:46:45 -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=YaBFc0cg; 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 1sCaUR-00030V-L4; Thu, 30 May 2024 03:46:23 -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 1sCaUJ-0002pj-V2 for qemu-devel@nongnu.org; Thu, 30 May 2024 03:46:19 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCaUI-0003Nb-Al for qemu-devel@nongnu.org; Thu, 30 May 2024 03:46:15 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-420180b5922so8049035e9.2 for ; Thu, 30 May 2024 00:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717055172; x=1717659972; darn=nongnu.org; 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=01WlZSY18T45T+CzrK5D3m5TP/teYv3HLGHIpCdLE80=; b=YaBFc0cgXXzfDwjgJDMLmZUppgkjKXoR/kAAzz0MDD4n6B+l73B5DacVqwM8Kshq+g TXUhCkLyh7quUfPNsLyDtO/x4Yp3IcMx1Sh+Wo4yzd3LTLg9MNW63fTFfX4PIgOT43c8 /AyWVmeUgOVaEWUk/Znni8yxGh0hGFWItc2lhlqUNCkAaAjz29xoVRsK8NoGpD9iCxZI wLjivIheEdhUwz2GJhoe9VDAkJhiioNGewAxA7ZB8PQVTMYHhHTuX+vP3i1RgiFx44r2 0GD9kFkQER+ASaxoRQPCd9X44YjqOOup33wGwqZfiWjzkXUJ3KAPUUYdpO2kCdoX4FqX O0kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717055172; x=1717659972; 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=01WlZSY18T45T+CzrK5D3m5TP/teYv3HLGHIpCdLE80=; b=OXOjYo3HZVWVkp0Umcf+FZAFNmP+AWZOm2SG0RO+1i/YVpyIIscsV4JowaQWLa1QD+ JdNFf//55ahC8Sj6L1bYmwfwsEi3j9al5222Tchf6QgPRJOyWCX+rDIrdCRBqEHe+rrY VveTJMzwPKoSoCN4tki6ygylDR/mwp69qDJh+oP7tjAighqs+wqoSQHpeAezVKoli1rK gQ41c5yFOI5DsIgOCJSFeTMn0PSMtoU9HWXYDoJtwIvanTo0XtuRs7h+c53TFJL9KfN2 5/6NRLNi6sNABQS/vfALzyJXZD4kSZF8RD15MbvxrzydFYeraFxDfO0RSeq3sUSUGosj p4fA== X-Gm-Message-State: AOJu0YxUQ2scPcAV16PNsyyCbLP+OSOECRUzLAyGGs1rAbUBhDC+wVK4 rX1S/g2/MNNMBSoCXXd0vTCq2eBpxLq2lmhQrq0M8cFj322N/3PrK6w+dzgViTluEzAwRwtFHBx 7 X-Received: by 2002:a05:600c:3d97:b0:420:fdce:6052 with SMTP id 5b1f17b1804b1-42127931d7cmr15072205e9.41.1717055171744; Thu, 30 May 2024 00:46:11 -0700 (PDT) Received: from m1x-phil.lan (xbn44-h02-176-184-35-50.dsl.sta.abo.bbox.fr. [176.184.35.50]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3557a08a878sm16571046f8f.43.2024.05.30.00.46.09 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 30 May 2024 00:46:11 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Dr. David Alan Gilbert" , David Hildenbrand , =?utf-8?q?Alex_Benn=C3=A9e?= , Christian Borntraeger , =?utf-8?q?Daniel_P_=2E_B?= =?utf-8?q?errang=C3=A9?= , qemu-s390x@nongnu.org, devel@lists.libvirt.org, Eric Farman , Thomas Huth , Ilya Leoshkevich , Markus Armbruster , Richard Henderson , Eric Blake , Halil Pasic , Anton Johansson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 3/4] hw/s390x: Deprecate the HMP 'dump_skeys' command Date: Thu, 30 May 2024 09:45:43 +0200 Message-ID: <20240530074544.25444-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240530074544.25444-1-philmd@linaro.org> References: <20240530074544.25444-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.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=unavailable 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 Prefer 'dump_s390_skeys' which is target agnostic. Signed-off-by: Philippe Mathieu-Daudé --- hw/s390x/s390-skeys.c | 2 ++ hmp-commands.hx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/s390x/s390-skeys.c b/hw/s390x/s390-skeys.c index e7dab52a6e..12ec8a808e 100644 --- a/hw/s390x/s390-skeys.c +++ b/hw/s390x/s390-skeys.c @@ -120,6 +120,8 @@ void hmp_dump_s390_skeys(Monitor *mon, const QDict *qdict) void hmp_dump_skeys(Monitor *mon, const QDict *qdict) { + monitor_printf(mon, "This command is deprecated" + " (replaced by 'dump-s390-skeys')\n"); hmp_dump_s390_skeys(mon, qdict); } diff --git a/hmp-commands.hx b/hmp-commands.hx index c12e2c2bd9..04ae897134 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1138,14 +1138,14 @@ ERST .name = "dump-skeys", .args_type = "filename:F", .params = "", - .help = "Save guest storage keys into file 'filename'.\n", + .help = "deprecated synonym for dump-s390-skeys.", .cmd = hmp_dump_skeys, }, #endif SRST ``dump-skeys`` *filename* - Save guest storage keys to a file. + This is a deprecated synonym for the dump-s390-skeys command. ERST #if defined(TARGET_S390X)