From nobody Tue Nov 18 19:43:48 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1612299542; cv=none; d=zohomail.com; s=zohoarc; b=Duhi+TPwrKB/9RfiKzjCE4HG1URnT3fJcX0ecWAVeK9NwJUR651R9Cadid9o3y/tB+P4bE01Ye59aqVT6eRigOyiIN8jc/Rw7ooT9IqACXl8f572iOMpvxrwAv5cJcnzktQI1xAmxYHqfW7qY91A0cA7Nx6bIj+/F1DxHyVmCRY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612299542; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Rv5my3HSU2RkuIlLbBGZUl/Fhu0zFPDOiXMImWA+5ZI=; b=kVKH0jtP4z6BJhxRcoh6pIRPxxZWU3Ea/g+B9yMie8EkCjvkHwcmqRJboxYLupSExnDljOur76bsQlKLPX/xNcEYiMwfaDAFICDn0eRrHZOZ1hcw4JJkcsUL6dRs8EkJNv8RwqnDqqc5SVquUZsk24DPlwTvdkiR/ymA1hDsffw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1612299542469702.2037293663986; Tue, 2 Feb 2021 12:59:02 -0800 (PST) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-mm1TECuhMPeX4At2P2Tz6w-1; Tue, 02 Feb 2021 15:58:57 -0500 Received: by mail-wr1-f71.google.com with SMTP id n18so13208530wrm.8 for ; Tue, 02 Feb 2021 12:58:57 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (7.red-83-57-171.dynamicip.rima-tde.net. [83.57.171.7]) by smtp.gmail.com with ESMTPSA id b3sm5776109wme.32.2021.02.02.12.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 12:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612299541; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Rv5my3HSU2RkuIlLbBGZUl/Fhu0zFPDOiXMImWA+5ZI=; b=Rfyyt3T0eQ+ousvPphK8PZyANmhPBA7hRaNsOI2BDc3tdN8c6ucL20DAkmsMiHYBmu9CUS oFNHoiur1aT6yK+bOpyaTX0JL0L/2T8YepLAuywmyVGZcsIsKdSfCgbdNDTL+4zMfcQDlT 47iLzbI4TPjpURMLeI0YaEHtwOJMQms= X-MC-Unique: mm1TECuhMPeX4At2P2Tz6w-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Rv5my3HSU2RkuIlLbBGZUl/Fhu0zFPDOiXMImWA+5ZI=; b=JXHC6t3eKNtRngHYwHlbnvcGKlkHiufg1gI7ZKUJXZG7r7wkP0LnSG2jB9XNvLIsOz ANvq9qz5arI0gJKGrMEDdy7bAk4VM8/6WBlFAokVcGG/5sIlRvocPXXbhgnzTveKTPrh CCE5y1x9qtGAJKMNfEouhR7vL1xUtNmwKJSKEeqXhQ82iSlvyG1NDej2CTG3CIdCnVmF vipDFUJqQvQ50S3w3fPbl2rlfJkyeHxJGNDQoaiuJrxNIrRZuwzomgotK5ZVb3kWzQ1W j1fB7dEiB5843y84fop5nh8sQKfgr2j2kIwT1RpZ4b4o5v0YBodPm2mEC2Rnh/Y70Bw+ QS/g== X-Gm-Message-State: AOAM531iXlPTkVMhtZ+pgvZ8dMOZES67CuEsvynijJC4HlbuIuJ+I9Ni cC4dwTtzCwRjNWy9wKH2Oill+R3ljl+vg2gbWpKIbXpPj0HAoharoH6L4DLH7sRNgWpjWulz8yL LedGKLP0cOA04qA== X-Received: by 2002:a05:600c:2281:: with SMTP id 1mr5458531wmf.150.1612299536321; Tue, 02 Feb 2021 12:58:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmQ06aMoRrIgRRrbMW/I6RMZgQD04A5Ja2YIOdLOi8cQzOd1xcgkLTgGTPUpM8KDc5bLFOww== X-Received: by 2002:a05:600c:2281:: with SMTP id 1mr5458524wmf.150.1612299536146; Tue, 02 Feb 2021 12:58:56 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Stefan Hajnoczi , "Dr. David Alan Gilbert" , Eduardo Otubo , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Gerd Hoffmann , Aurelien Jarno , qemu-block@nongnu.org, Kevin Wolf , Michael Roth , Peter Maydell , Alex Williamson , Max Reitz , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 03/12] qga: Replace '--blacklist' command line option by '--denylist' Date: Tue, 2 Feb 2021 21:58:15 +0100 Message-Id: <20210202205824.1085853-4-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210202205824.1085853-1-philmd@redhat.com> References: <20210202205824.1085853-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Follow the inclusive terminology from the "Conscious Language in your Open Source Projects" guidelines [*] and replace the word "blacklist" appropriately. Keep the --blacklist available for backward compatibility. [*] https://github.com/conscious-lang/conscious-lang-docs/blob/main/faq.md Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- docs/interop/qemu-ga.rst | 2 +- qga/main.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/interop/qemu-ga.rst b/docs/interop/qemu-ga.rst index 9a590bf95cb..89596e646de 100644 --- a/docs/interop/qemu-ga.rst +++ b/docs/interop/qemu-ga.rst @@ -79,7 +79,7 @@ Options =20 Daemonize after startup (detach from terminal). =20 -.. option:: -b, --blacklist=3DLIST +.. option:: -b, --denylist=3DLIST =20 Comma-separated list of RPCs to disable (no spaces, ``?`` to list available RPCs). diff --git a/qga/main.c b/qga/main.c index 249fe06e8e5..66177b9e93d 100644 --- a/qga/main.c +++ b/qga/main.c @@ -257,7 +257,8 @@ QEMU_COPYRIGHT "\n" #ifdef _WIN32 " -s, --service service commands: install, uninstall, vss-install, vs= s-uninstall\n" #endif -" -b, --blacklist comma-separated list of RPCs to disable (no spaces, \= "?\"\n" +" --blacklist backward compatible alias for --denylist (deprecated)= \n" +" -b, --denylist comma-separated list of RPCs to disable (no spaces, \= "?\"\n" " to list available RPCs)\n" " -D, --dump-conf dump a qemu-ga config file based on current config\n" " options / command-line parameters to stdout\n" @@ -1111,7 +1112,8 @@ static void config_parse(GAConfig *config, int argc, = char **argv) { "method", 1, NULL, 'm' }, { "path", 1, NULL, 'p' }, { "daemonize", 0, NULL, 'd' }, - { "blacklist", 1, NULL, 'b' }, + { "denylist", 1, NULL, 'b' }, + { "blacklist", 1, NULL, 'b' }, /* deprecated alias for 'denylist' = */ #ifdef _WIN32 { "service", 1, NULL, 's' }, #endif --=20 2.26.2