From patchwork Thu May 30 07:04:13 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: 800183 Delivered-To: patch@linaro.org Received: by 2002:a5d:65c4:0:b0:35b:5a80:51b4 with SMTP id e4csp94550wrw; Thu, 30 May 2024 00:04:53 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXBf0vcEb214c/iedzta3813ijTKE6JP2mUH5A8YjsDjEnUXAW6fvK1DpX+LJ6cJ48KcMAkveYB6Ms9z64aWRRH X-Google-Smtp-Source: AGHT+IGreJvldvPCCziRUTb8M20QnwrB2N2PY1dGK9aW7H43pAG1fm5lp2E9XeuZ4nQxg09C8Qjd X-Received: by 2002:a05:620a:5e4e:b0:792:c19d:1b0e with SMTP id af79cd13be357-794e9dabcdbmr154558285a.30.1717052692724; Thu, 30 May 2024 00:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717052692; cv=none; d=google.com; s=arc-20160816; b=0pWUOmBY2ofgLm/0o8tgO9ZXhXEr5mXsRXaEBIkQ78hF8uqIK+3JB6R2DLBDbkAo3M 3oJ3nCwUQgTOkH8oh2A4wH2rYccm5fYXw5V8RT3Y/FcgxVkH5wkXbV5xMDiNOfOCBV9x 3Kxd421xRVOC1YvHKZajaIjWcBspBmZaQhpDiCFTT1uTLrMURRHZlUVQnTdeGz6sTIL+ evVWCf2t8dIcCoVrJnyZ4xRuyGdOyeQUetZzzdS9wW7WyijiogZsFxOLQIMEKj1EuOv4 KdYAJXDlZpG4bvqc30wTbxwKAgyxf5YD0/xWfzgFpHC1BjPnluvli2p6b81GmQAFYCcV QSsA== 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:subject:cc:to:from:dkim-signature; bh=JY6ELSVZKELLoSKpq9yegBudO5fBYerevqxXi5PwlFY=; fh=lmZ36ECwAAm1i+2D/uJXuyRVU+U2Jy5AQG2gkw91LNI=; b=DcJdTCTMNjKsYDHkJxGovR34UnGj9+4eMWrdjQ2uH09NPMS+vjmIhHXd53qGr3lvZc 7FTn4zBdD9wkcSH7u2aLB9d8GoiVuJSvz0Q8WSqGHQrCqi7f4mwKRZ0OqtwUMv64i9Hh ofEF8MYiHQxzARnFHSpvBTlWfbMWvVnUFhZVrHRE6mMNgXKG8NWe40d20FXLysMgUmZ8 AY53HkMHy8Cv8o1I/uyZVzP5zVZx7fTaINHGCY8RWk6YkdYccujNZTS/1Qvt6ySMEqfk mnE0RvzsHG31MdUx7xCjAaJVCkkh4PcvWRtVk1XJTIS3TLfzrKMCTUvs4i1AtpPFznIm 8q5A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wkJr13TC; 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-794abcab4adsi1405431385a.5.2024.05.30.00.04.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 May 2024 00:04:52 -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=wkJr13TC; 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 1sCZpq-0006Bc-Vu; Thu, 30 May 2024 03:04:27 -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 1sCZpn-0006Ap-52 for qemu-devel@nongnu.org; Thu, 30 May 2024 03:04:23 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCZpj-0003Jj-Rm for qemu-devel@nongnu.org; Thu, 30 May 2024 03:04:22 -0400 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-52b7c82e39eso618597e87.1 for ; Thu, 30 May 2024 00:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717052657; x=1717657457; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JY6ELSVZKELLoSKpq9yegBudO5fBYerevqxXi5PwlFY=; b=wkJr13TCHCQ71jtRmqj/pkqNqKKTiMp4Bh1UCmCpn74oNpMtGGQoVqAhYdLHfmJ68u ww743Ot2OkuSotU8cJy6wLEdJCf2M4qZ9HFIz5FbhzszaRtFkAHUIZdNSuWT8pe31tUr TPHey41sPPIzMp1r9SzFYVw0hEhOmvS50LuAIuXiq7xd57dHseMKLUuW/YbH9EOcYwoy fEE3SmTjER4QDGcggesXDGBPQN/JfRw92SJy3yUoLIGy/N8hrbSuWUvWHn3aq6qH3uZP D5l296E2es3zXlENfRcnqHczLxfPUvuoohl6WwAc+n1OD+QaVTcj4P1GdVVhQfJJCU+P 1UcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717052657; x=1717657457; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JY6ELSVZKELLoSKpq9yegBudO5fBYerevqxXi5PwlFY=; b=U49dHTyFeVK35Ixw0r+0xt6W7nAMdCTdJsTZ+nngDUBPEG92cjDByeya5MQeaZab3x FUakdnVEt7AoBQCGxNS5XrHoI/C/O+6ZhbrNWjoEdRIJJ+nRgvQ2VF3ZngpGCVrG8FaQ D9g/Flu6c5tMx2VkV41wBTNrt93Du8irnc3q78wZlYkg7C7/HYNeUiA2PWQ5YBy5BUdI hcihDRWCc6ytVzcLcDhJpK+8b2tAbei7ccR+SOD/raA3p9yfqYXd5Z25V6rMMrxgAYUR M8LyH1E7Uwg4c/I5odEIBh/pY+MrDNAWWPZeXk31YwIVCX2QqseIIelSlrT6r58L+5sR d52Q== X-Gm-Message-State: AOJu0YzPW8lkqrfMPcQJWf56kBcqKnCspfMvfn3HlneLi12kfPPsSivf gNJ1B25rRHlHA6L6PyUhZtvDx0H1gO3B/uajPZ1oWMeHrvu/HOyAumBq4yvl3PmdZkLxwlaTiWr 5 X-Received: by 2002:a05:6512:247:b0:51e:f0e8:d70d with SMTP id 2adb3069b0e04-52b7d426760mr1314151e87.21.1717052657253; Thu, 30 May 2024 00:04:17 -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 4fb4d7f45d1cf-57872da9dfbsm7176522a12.2.2024.05.30.00.04.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 30 May 2024 00:04:16 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , devel@lists.libvirt.org, Michael Roth , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , Konstantin Kostiuk , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH] qga: Remove deprecated 'blacklist' argument / config key Date: Thu, 30 May 2024 09:04:13 +0200 Message-ID: <20240530070413.19181-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=philmd@linaro.org; helo=mail-lf1-x12e.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 The 'blacklist' argument / config key are deprecated since commi 582a098e6c ("qga: Replace 'blacklist' command line and config file options by 'block-rpcs'"), time to remove them. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Konstantin Kostiuk --- docs/about/deprecated.rst | 18 ------------------ docs/about/removed-features.rst | 18 ++++++++++++++++++ qga/main.c | 6 ------ 3 files changed, 18 insertions(+), 24 deletions(-) diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst index 40585ca7d5..a32e0e2564 100644 --- a/docs/about/deprecated.rst +++ b/docs/about/deprecated.rst @@ -478,24 +478,6 @@ versions, aliases will point to newer CPU model versions depending on the machine type, so management software must resolve CPU model aliases before starting a virtual machine. -QEMU guest agent ----------------- - -``--blacklist`` command line option (since 7.2) -''''''''''''''''''''''''''''''''''''''''''''''' - -``--blacklist`` has been replaced by ``--block-rpcs`` (which is a better -wording for what this option does). The short form ``-b`` still stays -the same and thus is the preferred way for scripts that should run with -both, older and future versions of QEMU. - -``blacklist`` config file option (since 7.2) -'''''''''''''''''''''''''''''''''''''''''''' - -The ``blacklist`` config file option has been renamed to ``block-rpcs`` -(to be in sync with the renaming of the corresponding command line -option). - Migration --------- diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.rst index fba0cfb0b0..deca066b21 100644 --- a/docs/about/removed-features.rst +++ b/docs/about/removed-features.rst @@ -1129,4 +1129,22 @@ stable for some time and is now widely used. The command line and feature set is very close to the removed C implementation. +QEMU guest agent +---------------- + +``--blacklist`` command line option (removed in 9.1) +'''''''''''''''''''''''''''''''''''''''''''''''''''' + +``--blacklist`` has been replaced by ``--block-rpcs`` (which is a better +wording for what this option does). The short form ``-b`` still stays +the same and thus is the preferred way for scripts that should run with +both, older and future versions of QEMU. + +``blacklist`` config file option (removed in 9.1) +''''''''''''''''''''''''''''''''''''''''''''''''' + +The ``blacklist`` config file option has been renamed to ``block-rpcs`` +(to be in sync with the renaming of the corresponding command line +option). + .. _Intel discontinuance notification: https://www.intel.com/content/www/us/en/content-details/781327/intel-is-discontinuing-ip-ordering-codes-listed-in-pdn2312-for-nios-ii-ip.html diff --git a/qga/main.c b/qga/main.c index bdf5344584..f4d5f15bb3 100644 --- a/qga/main.c +++ b/qga/main.c @@ -1071,11 +1071,6 @@ static void config_load(GAConfig *config) g_key_file_get_boolean(keyfile, "general", "retry-path", &gerr); } - if (g_key_file_has_key(keyfile, "general", "blacklist", NULL)) { - g_warning("config using deprecated 'blacklist' key, should be replaced" - " with the 'block-rpcs' key."); - blockrpcs_key = "blacklist"; - } if (g_key_file_has_key(keyfile, "general", blockrpcs_key, NULL)) { config->bliststr = g_key_file_get_string(keyfile, "general", blockrpcs_key, &gerr); @@ -1190,7 +1185,6 @@ static void config_parse(GAConfig *config, int argc, char **argv) { "path", 1, NULL, 'p' }, { "daemonize", 0, NULL, 'd' }, { "block-rpcs", 1, NULL, 'b' }, - { "blacklist", 1, NULL, 'b' }, /* deprecated alias for 'block-rpcs' */ { "allow-rpcs", 1, NULL, 'a' }, #ifdef _WIN32 { "service", 1, NULL, 's' },