From nobody Mon Feb 9 04:14:16 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1604305649; cv=none; d=zohomail.com; s=zohoarc; b=Wjk/ijVIKqIoDBYdGyeG89yufHVVGOyOp58DXoMkRs+On9GoHIWWYzQl2eeDgrCsjeGj4Ig5FQOL6mAnMrTL8u6ln4H/KeTJDhXZGgo5rVWxEiB4BvwbdxaBKVwecN92ieyBqr5abepW1bWi/e9L46JBaShCaAhawI4n2YPQR1E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604305649; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=/Ta9uQPWTBqDXO4CPGN9GsueV2hcxMZNMXGcUyJWWxY=; b=RtrnVbSO9uD2gyias2he+e1zDCY/YWePsm5l2OieWziYlOAAuedtVqKmvT+e5VZSaKb0wywXSW+cSvrse85reNcBmYykJnj52v9afuQRulJaVgw1W2pJO15azVMbFmo1/E+SBzrxjbVuV8kenNjEMMMkIwhUU/Bo00JmN1LFJPk= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1604305649201139.7563474248567; Mon, 2 Nov 2020 00:27:29 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-167-SGur8Dc6Nk-GDziEOnu5ZQ-1; Mon, 02 Nov 2020 03:27:23 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9B1811006CA3; Mon, 2 Nov 2020 08:27:17 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 75F9B5C5B0; Mon, 2 Nov 2020 08:27:17 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 41EBC8C7BC; Mon, 2 Nov 2020 08:27:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0A28R0W0031250 for ; Mon, 2 Nov 2020 03:27:00 -0500 Received: by smtp.corp.redhat.com (Postfix) id EA1E81111A4F; Mon, 2 Nov 2020 08:26:59 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E53051111A41 for ; Mon, 2 Nov 2020 08:26:59 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CE7D9858298 for ; Mon, 2 Nov 2020 08:26:59 +0000 (UTC) Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [51.163.158.102]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-473-0s7pyLlTNP2BHsPRxp0kNg-1; Mon, 02 Nov 2020 03:26:57 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01lp2054.outbound.protection.outlook.com [104.47.1.54]) (Using TLS) by relay.mimecast.com with ESMTP id de-mta-35-wfXmqJzjPa2ahG3aBsq4Tw-5; Mon, 02 Nov 2020 09:26:54 +0100 Received: from AM6PR04MB5782.eurprd04.prod.outlook.com (2603:10a6:20b:aa::17) by AM6PR0402MB3624.eurprd04.prod.outlook.com (2603:10a6:209:4::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.30; Mon, 2 Nov 2020 08:26:51 +0000 Received: from AM6PR04MB5782.eurprd04.prod.outlook.com ([fe80::b5ca:e454:9fad:8712]) by AM6PR04MB5782.eurprd04.prod.outlook.com ([fe80::b5ca:e454:9fad:8712%7]) with mapi id 15.20.3499.030; Mon, 2 Nov 2020 08:26:51 +0000 Received: from t440p.suse.asia (60.251.47.115) by AM9P191CA0007.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:21c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.19 via Frontend Transport; Mon, 2 Nov 2020 08:26:50 +0000 X-MC-Unique: SGur8Dc6Nk-GDziEOnu5ZQ-1 X-MC-Unique: 0s7pyLlTNP2BHsPRxp0kNg-1 X-MC-Unique: wfXmqJzjPa2ahG3aBsq4Tw-5 From: Lin Ma To: libvir-list@redhat.com Subject: [libvirt] [PATCH 06/19] virsh: Add interface name completion to iface-bridge command Date: Mon, 2 Nov 2020 16:26:08 +0800 Message-ID: <20201102082621.13228-7-lma@suse.com> In-Reply-To: <20201102082621.13228-1-lma@suse.com> References: <20201102082621.13228-1-lma@suse.com> X-Originating-IP: [60.251.47.115] X-ClientProxiedBy: AM9P191CA0007.EURP191.PROD.OUTLOOK.COM (2603:10a6:20b:21c::12) To AM6PR04MB5782.eurprd04.prod.outlook.com (2603:10a6:20b:aa::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9d5eb34d-9962-425f-27ae-08d87f090c83 X-MS-TrafficTypeDiagnostic: AM6PR0402MB3624: X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:296 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: YUULtNNiL25kw2aLuGIbCTJvaD7H8bdbirKfpMRXrzRwSHMQETIWXIo3+s2yYTa+PJUYZTP8jhoXlCWercuxlQWpGG3Cfao/+OqRjDBVb8G3gRStgDQZoPbsrGuVeJGpEfNH6pkBoVk8Ity+pAJ/2CY5UyfrDeB1+vudc2sXI3Pswj6eVxFQePRP/46axuuyuANnrr8txN+vZkmcjWkdRYXa9KZA3kSKUFLqvTVAtWZBs1p6bwyL0536BtTHuzSY56GQ3F/773QssXasduX7ddN7B+m4LlqTJMlfsFzvhlgcq9xsRnPgTjcA4/fFBIsgAGu2j4TAdos3TqURCaNrGw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB5782.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(39860400002)(396003)(376002)(136003)(366004)(107886003)(6666004)(5660300002)(16526019)(66556008)(66946007)(66476007)(2616005)(956004)(8676002)(6506007)(186003)(316002)(450100002)(4326008)(52116002)(26005)(478600001)(8936002)(2906002)(36756003)(55236004)(86362001)(4744005)(1076003)(6916009)(6486002)(83380400001)(6512007); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData: syeS8ToQwYtGf41Z8G/UstGxFM03a2PV6u9/GlUzr+oqTMOOdwCU51EaeNvnbY+jobKZAtYOY0GuAo/6WZpAxNWEopJLvsSqc8LqIulZGBNG+dTVf/nxNYQX/YO/CKHxs+mNRU0/7AebPCs7sXcSZzrqGw1ATlwL5GvQOASk/W8rGuw4srThbB1GEdBGHhnRCDcAIhmZHrzCHAhGtNRYUIg4kzqeCFWUYylxe2dmXiJe1e7RUUs8t8vnxa+lE9merLioy5BQmN24Csxvw3e4yqyvUalFo2OkG5xkkNcy3iDI3YFX364aBjhctDaLixqQYI4juBQijfZbdsVrbd8m23xae9IgN1Mlhr1PLUNO67QXxxsmzOIWmIobCQIR6BHfcC+n+LkB+tNZQvhfJX3k0jI7QmtPNnkBPPjvU7gXJgrBNmjhKPrqIODK2GQuNGE9tJN5kvfaJmdtumcFxias+S78ktWfjvvjTtMcwKOj1Izkp+asB96cy1DgmzV6j5fjYeD4WFSUm3ls/8EOi56flHIh3ySwAFFmpOSybpgGftjbfnDB513i7JL9Xpd/uGvHYgqPvPnmpAahK/eWtU0kINY+vO9nsVlc4KEmfXw5kvZnsxwp8hok4+wfOaZqRz6GK+sUxVYolw3wPK2YBg24ug== X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d5eb34d-9962-425f-27ae-08d87f090c83 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB5782.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2020 08:26:51.7918 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QpKqLAxI1nJRxkQqcWE/oSBV5BJsg2LqwZZhOt6+pXkc+cychqNGI58Bfa1akOQO X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3624 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 0A28R0W0031250 X-loop: libvir-list@redhat.com Cc: mprivozn@redhat.com, Lin Ma X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Signed-off-by: Lin Ma --- tools/virsh-interface.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/virsh-interface.c b/tools/virsh-interface.c index 6c47767754..13e120d7a0 100644 --- a/tools/virsh-interface.c +++ b/tools/virsh-interface.c @@ -785,11 +785,7 @@ static const vshCmdInfo info_interface_bridge[] =3D { }; =20 static const vshCmdOptDef opts_interface_bridge[] =3D { - {.name =3D "interface", - .type =3D VSH_OT_DATA, - .flags =3D VSH_OFLAG_REQ, - .help =3D N_("existing interface name") - }, + VIRSH_COMMON_OPT_INTERFACE(N_("existing interface name"), 0), {.name =3D "bridge", .type =3D VSH_OT_DATA, .flags =3D VSH_OFLAG_REQ, --=20 2.26.0