From nobody Mon Sep 16 19:05:38 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1717052693; cv=none; d=zohomail.com; s=zohoarc; b=OJ0PP5xWno2rBZVGwPujt7qyYYZP8eefFoOyTHeBpDVlTr6aHNo2NcR5aYczuLQGfosQeTnEhmcld4U7X7DyfKqoTC5PdMCppS1YMxBiSLtROEdny/Df009cUmXFjgLbB6azmyNq+ZuTG1jB/i5RsA6+e/TwSC+qrLVZeDwiKfw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1717052693; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=JY6ELSVZKELLoSKpq9yegBudO5fBYerevqxXi5PwlFY=; b=QMJdQjE4+rjs1bp34aKePnhY7w1q5658zy1MpEoFGqMdd9W4V0K+tdxSQxr3ffm1H9aEj8HXzzKEkf6uCq4jX4jXDM2rAMryK1rMDtX2E8bPOmsugJetVXS78+0OfHyrW2MbwWlXQdp6Uj9FVacdG2KLtYB2mEC8mDYuyouaLu8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1717052693032508.3396650298655; Thu, 30 May 2024 00:04:53 -0700 (PDT) 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) 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) 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-Google-Smtp-Source: AGHT+IEfJoO89lJW9ue6eidTOsuPAzfx06VpWQUBc7ywQrAB+m36jgoVnvlF/07pE1TKcSfy88Makg== 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , devel@lists.libvirt.org, Michael Roth , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Konstantin Kostiuk , =?UTF-8?q?Philippe=20Mathieu-Daud=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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1717052693753100001 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=C3=A9 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 versio= ns depending on the machine type, so management software must resolve CPU model aliases before starting a virtual machine. =20 -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 --------- =20 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. =20 +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/u= s/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= ); } =20 - if (g_key_file_has_key(keyfile, "general", "blacklist", NULL)) { - g_warning("config using deprecated 'blacklist' key, should be repl= aced" - " with the 'block-rpcs' key."); - blockrpcs_key =3D "blacklist"; - } if (g_key_file_has_key(keyfile, "general", blockrpcs_key, NULL)) { config->bliststr =3D 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-rpc= s' */ { "allow-rpcs", 1, NULL, 'a' }, #ifdef _WIN32 { "service", 1, NULL, 's' }, --=20 2.41.0