From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 9B4E15A0274 for ; Mon, 12 Feb 2024 04:00:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1707706854; bh=QodoZdb1xKbiSGWdLaXwH2BOjJ+TS6afdXx0/VX+qWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZyjpHdX8vipRIdEHRG4+qQe3WmaA9aX+21FGXy4JYoIvlsBK4UNNeF8t0JH2NObRh GymeLmzJk1XbMzDc76TbIx7qzC5CCKmXXTHtmilx0Y3fmrEjK2Ff3z8G15o5EJJUhM NpkpLg9gj5la1+ZGFIpLkCJ1a2i9Uf8XRVO1c+T7/u2pIsYEC54/rjN7Me8WJ3U6XA 52+QV9t+ZA/m5iA8MbVZDu2cZi5jIpzp4zdHKhiBk4XuQa9Yi62YHuK4WlknDhqJ9E opy0NID7+5WJC+lvUI4jq9xSJxGadp1KAy3CZfiNhnL7C2v4vb4YQWw2X4uSN6yImn Ijw80Zg4Ivrfw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4TY8NQ0Vt3z4wxx; Mon, 12 Feb 2024 14:00:54 +1100 (AEDT) Date: Mon, 12 Feb 2024 13:47:15 +1100 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH 20/24] vhost-user: add vhost-user Message-ID: References: <20240202141151.3762941-1-lvivier@redhat.com> <20240202141151.3762941-21-lvivier@redhat.com> <20240212001922.1baf3db0@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rYsbYbhjUDxBaCGw" Content-Disposition: inline In-Reply-To: <20240212001922.1baf3db0@elisabeth> Message-ID-Hash: 6Z6NAFPLAWXXR3VNCQ6ZHCEYAVJKLV7W X-Message-ID-Hash: 6Z6NAFPLAWXXR3VNCQ6ZHCEYAVJKLV7W X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Laurent Vivier , passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --rYsbYbhjUDxBaCGw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2024 at 12:19:22AM +0100, Stefano Brivio wrote: > On Wed, 7 Feb 2024 13:40:33 +1100 > David Gibson wrote: >=20 > > On Fri, Feb 02, 2024 at 03:11:47PM +0100, Laurent Vivier wrote: > > > add virtio and vhost-user functions to connect with QEMU. > > >=20 > > > $ ./passt --vhost-user > > >=20 > > > and > > >=20 > > > # qemu-system-x86_64 ... -m 4G \ > > > -object memory-backend-memfd,id=3Dmemfd0,share=3Don,size=3D4G= \ > > > -numa node,memdev=3Dmemfd0 \ > > > -chardev socket,id=3Dchr0,path=3D/tmp/passt_1.socket \ =20 > >=20 > > I think it would be wise to use different default socket names for > > vhost-user than for the qemu socket protocol. >=20 > I'm not sure if there's an obvious benefit (mix them up, and nothing > will work anyway). On the other hand, that means more typing and > remembering what's the separator between "passt", "vhost", and "user". >=20 > > Or even to require > > --socket-path: the reasons we have these rather weird default probed > > paths don't apply here, AFAICT. >=20 > Why not, actually? With probed paths, you can still reasonably start > passt by *typing* its command line. I do it all the time, and I think > it's quite nice to have. Uh.. I'm not sure how this would change that. --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --rYsbYbhjUDxBaCGw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmXJhrIACgkQzQJF27ox 2Gfphw/9E8Z9MYeKsPGJVnOk62OKGgW6ob38mIc9IyuyuDAZHmzNIJV4jvQFKAY9 rwafnumd6yDaVecotG8JBsnsOTBZ/dJJE8jc89+6D/bxS2JObBLxgSAZM1lAriTE msO+/EV3h143/vXAGxaN0LbVHZ5O8fa6QAzus3GC929VAduL2jWODQfkxB1a7QST Kr9+wV2HJIfQ7oGxotzEyC42qteig2xCV0d0p7ZkqOTbMN6fCplrFmjNNQXRyPKD TwnjVQeClcsTHoSHkQ8+G1Vz582J4p3PT9fjUN64Y36edar9xfUPM0Izmddb0cNm HL97vMEUi0geB2LpwLNC2hG72+ilBWQCjp1k24IoEMwJsuQMRWVed6DUd+BOwWQB eMHs3Q+xU62j6JKIoj0ex5Jm/ikadY/LTctApc2kVdxhPgibfgaVm6rTmSJIrE+G 6qjEnRG8dOH6srbDQXbRWOEAGBivRMdq5dzXWHZlijczf8ryZ2wtyPlwOt9lY05y DnzoY+qnYPKzZsUaO7CLoU2+5fOghwAZtdlC9rKLsb32fPi026yFONxVEkQHb3+e WIG3e0GdQv8TYAhb+5vXbnMw4r1Hr5/DVHU+TDB8YnetLwhDqdoCr6oow29QaPNe 4vaIMP2TSNAYarwKRmghu66Rh0+IM38ZUOi7cs4s0Ib5+FwQ5LA= =pHyZ -----END PGP SIGNATURE----- --rYsbYbhjUDxBaCGw--