Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp811435ybp; Wed, 9 Oct 2019 04:43:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy0oXUvyMaJI4mbXNjpOJVMPLqsP0fsWox9FVU7s5BGMbbFLsiu1dgCXy6efXVMDJL95f+ X-Received: by 2002:a17:906:b6c6:: with SMTP id ec6mr2358165ejb.54.1570621435585; Wed, 09 Oct 2019 04:43:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570621435; cv=none; d=google.com; s=arc-20160816; b=TXE7/+h4L4HcbePLwhVvO4Qnp7AEiY7NJ8eHAMZ2hTOfnmcvHf/X23Ydo8TzU1VRWC DF4mffitmIbHYKPuncY3o5ZqQGfDEbkkzk3spFT3j/56flGhTs1PlerW1nSR1T3DHSfJ UrgHmhJwIH34u6hOCNVuWQdpZgle156qrbfN+Ph9lhm9kG3M6/RpXmgr6YRScLCsEVGq +BpBZtw+vXx++wNcguPU/9JE/w8SzyVqvQZnitGiWr0uG+oAzKYHRtPtwLMQOlgISOrX r3r3tXja0QbMZ5rJ/bE0oOoLx8Izj9qNxpmKKdzBhmUw52GjE6yMrlz2nBOmVoNHS6pR avFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=c5SSACmthJRQcjJkz/aOKtBtFAYEKfh5z4QTzPsgi4Y=; b=0p6kFQ8Fp8uSx+49jx8iGUzk8WyMWyi5yMWYOXZrPZNYtTrrxK2iB9sZ5SqzxIhdi1 bFJrwp+/QvReZpgdIHNDQz10vCSZzL9tf9Q1J0BRmxokb8pGg1gaWPVKy/B6Z0VAeKoT Ik/XRDAev2e3Lj3dUSUAFysBxVVHzpDOAHYrcX3mAXjEw0VtcXCQBDKE9mmufKzrzMIN I3Z46xlO881lyR5m3LRyzg+xq3+nd0JD+7RRmMAZKyD3D6/Oh8Pqh7U2IR6hlsdzDkk9 fehmaj/PlsKzSpyNt5qHF7MFlODMryd1YgXL43X0TKzjD7RbCpP3aBc2bc3iY5wMpZNp Ogqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j5tdx8nF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k16si974231ejo.7.2019.10.09.04.43.32; Wed, 09 Oct 2019 04:43:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j5tdx8nF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731043AbfJILm3 (ORCPT + 99 others); Wed, 9 Oct 2019 07:42:29 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:52701 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfJILm2 (ORCPT ); Wed, 9 Oct 2019 07:42:28 -0400 Received: by mail-wm1-f67.google.com with SMTP id r19so2180634wmh.2; Wed, 09 Oct 2019 04:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=c5SSACmthJRQcjJkz/aOKtBtFAYEKfh5z4QTzPsgi4Y=; b=j5tdx8nF7X8fZu4hsRKd/9vyZSpHRVdLGFki/5+EuZUC/Vh3+55WPgCkxycSLkeQ2+ 3FLGfFGqHCnDUW6y2RCS+tYGfVY4YTGwpTRPlPzAA35xmR2qLUqwx/eJjnPeqH5Deiz9 IOQ3jAitlMDxnITZX6li+DSdGpJhlIBS/JeDTYBX4vgyx3T5iLbw/pupJqYhUtpVTwo+ NLI4HJWk5AsKOYLp4+8bvqqn6s5FkJaK0pnUenMqh5Uhb+vENvSrJ7mM8c6fT7cTNIC2 I3KFL+WOQlolgxOgQ8w1dERgNuxGpgwa00v4YdnXu2I/+jK0l6aUMEpgp8WMzUAGlmdo saOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=c5SSACmthJRQcjJkz/aOKtBtFAYEKfh5z4QTzPsgi4Y=; b=ttH8DbfRAxhUphfV4hakGq0JaxRFP6b3MSSg090OEvkkRFv3zhnbGMr4V5tutVBbKp VYiMGceGTIQEd8M9JQFkQB+Ij/49pTiKCUxH8plUSEKJZCpTZE52dXoqDtktYsE2iXzw fzj4SSJIVqrq0vGmiotwgzmd152/HOYrYaj8gyq+ORwb/ayY954M2xGzMaQlX162+7yu 5wnhrUIn+SKcDrPRpYYFtP9GD7ChXV2ybZNeOvuL1DMrIooYJcUmeBxrSFq/jVrI4Bpz TzbDQd1n8H5UH7mx3aTXlM6c1ZWJutFK9Fc9Dk3IQbLx8eAEXbnu8zkBOzWdj6OxZmXi RgEQ== X-Gm-Message-State: APjAAAWSi6QzQQRz7OXUcTqFF04kk3AokruL61S2oo8bsL91FKxEqCAv s8pMoxFXcUB/KlS2Yb/g0jA= X-Received: by 2002:a1c:49c2:: with SMTP id w185mr2223617wma.16.1570621346629; Wed, 09 Oct 2019 04:42:26 -0700 (PDT) Received: from localhost ([51.15.41.238]) by smtp.gmail.com with ESMTPSA id v20sm1848031wml.26.2019.10.09.04.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 04:42:25 -0700 (PDT) Date: Wed, 9 Oct 2019 12:42:24 +0100 From: Stefan Hajnoczi To: Stefano Garzarella Cc: netdev@vger.kernel.org, Sasha Levin , linux-hyperv@vger.kernel.org, Stephen Hemminger , kvm@vger.kernel.org, "Michael S. Tsirkin" , Dexuan Cui , Haiyang Zhang , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Stefan Hajnoczi , "David S. Miller" , Jorgen Hansen Subject: Re: [RFC PATCH 02/13] vsock: remove vm_sockets_get_local_cid() Message-ID: <20191009114224.GC5747@stefanha-x1.localdomain> References: <20190927112703.17745-1-sgarzare@redhat.com> <20190927112703.17745-3-sgarzare@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ALfTUftag+2gvp1h" Content-Disposition: inline In-Reply-To: <20190927112703.17745-3-sgarzare@redhat.com> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ALfTUftag+2gvp1h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 27, 2019 at 01:26:52PM +0200, Stefano Garzarella wrote: > vm_sockets_get_local_cid() is only used in virtio_transport_common.c. > We can replace it calling the virtio_transport_get_ops() and > using the get_local_cid() callback registered by the transport. >=20 > Signed-off-by: Stefano Garzarella > --- > include/linux/vm_sockets.h | 2 -- > net/vmw_vsock/af_vsock.c | 10 ---------- > net/vmw_vsock/virtio_transport_common.c | 2 +- > 3 files changed, 1 insertion(+), 13 deletions(-) Reviewed-by: Stefan Hajnoczi --ALfTUftag+2gvp1h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAl2dx6AACgkQnKSrs4Gr c8hCTQf7B7NVspFDFsnm05GLUu5jhE/dRHrC3VyeqqicE3uUMPD7T+dn+SoNtnKs OX/U72s4FYr4zeIPdjJaH4nqrMEmX8Cl6v9T20IEH58vvEnms/9iSyj0w+FdTFD7 ob0Ggxu22UzOtKpdYjzKXO2JyzxEguYGigkvWnN+WNAlLxfI4UyruK7LGhLrngDe 1TdiSHMS/b/HDZgQVbcF8wSEg9D+yg6gJsz+CiYneq3hcTR1ezWBCVLwUmkMGm9E WOJP23V3t0m5K+Ottl8daxdvvIh58O/y9Xsrd8G4FRAjJvpSGwiai4KPnTfAhHzQ sLP3Xt853ipwkz1KWXmS9dg8eJEyTQ== =k7J2 -----END PGP SIGNATURE----- --ALfTUftag+2gvp1h--