From nobody Wed May 15 05:19:41 2024 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=qq.com ARC-Seal: i=1; a=rsa-sha256; t=1609765529; cv=none; d=zohomail.com; s=zohoarc; b=bXZ7xmLVLY6FwCrIpNzWeRguXAhNTtfErVXPKobqH8wbAZ0APeW6MLaYpcnXD862QwDvDNOBAjXTjp96CL7mW83omS4HMK8jooz3L4MUbGHSNIMGbdPYn0+YS8J3xkvfpVwN0m+q0Zc1NhygUwKLslKguLyMpPnO3vHbpfCjVxs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609765529; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=NUA/pWIYHvD/vEaBTko63mqMO/K8Y4vQGo63QOaFA1I=; b=EOfOt28Ie7EeZr5MrsH8EHLeLM9p3SulAj6QU9sCgq5JJ1JLsDn7xRo0/l3e1FFU2k6S2ms+ALfkk5ycjweoOwmyBD6ORREtqR/pDTNskuBX6pKjgUJVae2amCUDZYPgK76+D4eLGyc2dKAvWrzN+DlQ91PxZpdboUuFyebHbdI= 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=<274268859@qq.com> (p=none dis=none) header.from=<274268859@qq.com> 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 1609765529517358.264701325916; Mon, 4 Jan 2021 05:05: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-381-XgXjfFChMgm059cDQiqN2A-1; Mon, 04 Jan 2021 08:05:20 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 472279CC0F; Mon, 4 Jan 2021 13:05:14 +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 2170560C5B; Mon, 4 Jan 2021 13:05:14 +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 EBF7744A46; Mon, 4 Jan 2021 13:05:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0BUAerg3019782 for ; Wed, 30 Dec 2020 05:40:54 -0500 Received: by smtp.corp.redhat.com (Postfix) id 9D70A2166B2A; Wed, 30 Dec 2020 10:40:53 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 989712166B28 for ; Wed, 30 Dec 2020 10:40:51 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (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 821E4800B3B for ; Wed, 30 Dec 2020 10:40:51 +0000 (UTC) Received: from qq.com (out203-205-251-60.mail.qq.com [203.205.251.60]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-38-ay_HTuDUOy6rsQpDKJfihQ-1; Wed, 30 Dec 2020 05:40:48 -0500 Received: from localhost.localdomain ([106.120.220.78]) by newxmesmtplogicsvrszc6.qq.com (NewEsmtp) with SMTP id 9E481EB1; Wed, 30 Dec 2020 18:39:36 +0800 X-MC-Unique: XgXjfFChMgm059cDQiqN2A-1 X-MC-Unique: ay_HTuDUOy6rsQpDKJfihQ-1 X-QQ-mid: xmsmtpt1609324776t4ughzsey Message-ID: X-QQ-XMAILINFO: NIvGI93qXEm2ejuvV6uiZFlf9PQNc2CvPfHc1UXAe4vRxx7b64UFvEAnhXsaPg +D2vBO33H0hE52HJk7Widfgr/UGWqaR2A1oHS8PMljI94xmI9CFnoQJqkTbOjL7r3Fm6gxw9s3VD EmMjxlbPNXbrtpK9hFKUTi8q6PLIxFq6m/6MCFh3JSLyXUpPPJNsmtV0Klyng/ypVLqAfdZKaFld NKcQ5zH12iwWQTmIdjch4ZETsh/m2zsT4qhOoMg8bO3IA5QVmjEQN+PcsyrIzcbvNsUq9ixVzGb5 vJE8aij8lqPDqsR2Y5bZToZrjiuxxwkCRp2P86exsL8F3LhgG2Wj37rIWSq+Kcl114CZxW4zeEG+ wNgnFGalhlFdnr3oNHli1nJkItmOTZLwl3vo1UIq/whNMt2awj2XzblL+0me3Gz6OzA+wEWsqflr ibm+dah1o1Cg/hD17tNRjdAbXZb2MfkNWKi173LNi6QMFMzg25kYucQCjtzVLaiZJoGOCq+0vEGx a5LG5uc5s+5QmFQmuZkAIYN7/Sy29558Wgpv4iweyIfmJNxiKzhHZHptU1GdKdniYu5+ayphu5oo LsCMqg/badj6ApZ3kVtcNong9u5IX68gSR2FQIYDV3LydU5cjZRveXHpqcsuv5iMknUcq4EfSRdy yh7tRXkzaakP0WArH+zHBlnSg3QEoPbWKN3fWwZ3q4PUs8dIOZuGHrJNjTaSWAXp8CoRt6VkTbgy uQpYpyAKZKQcJ2ZndUUzWDYf1RHDVA2eIhXq0UdcEbJJbrH/TYrLdciGPTFSuFOiQNMxqOqzLkSC NFBrvt3QQuQA== From: liyalei <274268859@qq.com> To: libvir-list@redhat.com Subject: [PATCH] Fix wrong use of path variable Date: Wed, 30 Dec 2020 18:39:35 +0800 X-OQ-MSGID: <20201230103935.87108-1-274268859@qq.com> MIME-Version: 1.0 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.6 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Mon, 04 Jan 2021 08:05:11 -0500 Cc: liyalei 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.13 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" From: liyalei --- src/util/virnetdevopenvswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virnetdevopenvswitch.c b/src/util/virnetdevopenvswitc= h.c index d380b0cf22..7eabaa763d 100644 --- a/src/util/virnetdevopenvswitch.c +++ b/src/util/virnetdevopenvswitch.c @@ -494,7 +494,7 @@ virNetDevOpenvswitchGetVhostuserIfname(const char *path, if (server) { virCommandAddArgList(cmd, "--no-headings", "--columns=3Dname", "fi= nd", "Interface", NULL); - virCommandAddArgPair(cmd, "options:vhost-server-path", "path"); + virCommandAddArgPair(cmd, "options:vhost-server-path", path); } else { const char *tmpIfname =3D NULL; =20 --=20 2.27.0