From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37623 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYkqK-00005R-Pw for qemu-devel@nongnu.org; Tue, 13 Jul 2010 15:08:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYkqJ-00073Q-0d for qemu-devel@nongnu.org; Tue, 13 Jul 2010 15:08:36 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:40940) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYkqI-00072u-DU for qemu-devel@nongnu.org; Tue, 13 Jul 2010 15:08:34 -0400 Message-ID: <4C3CB9AB.1070607@web.de> Date: Tue, 13 Jul 2010 21:08:27 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1278962453-15774-1-git-send-email-miguel.filho@gmail.com> <4C3C04C4.8050804@web.de> <4C3C60A8.7070309@siemens.com> <4C3CB5C1.5010307@codemonkey.ws> In-Reply-To: <4C3CB5C1.5010307@codemonkey.ws> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig40AB85444E26F1137044DBD8" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH 0/8] vlan cleanup List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, avi@redhat.com, Miguel Di Ciurcio Filho , Markus Armbruster , Luiz Capitulino This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig40AB85444E26F1137044DBD8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Anthony Liguori wrote: > On 07/13/2010 07:48 AM, Jan Kiszka wrote: >> Miguel Di Ciurcio Filho wrote: >> =20 >>> On Tue, Jul 13, 2010 at 3:16 AM, Jan Kiszka wrote= : >>> =20 >>>> Miguel Di Ciurcio Filho wrote: >>>> =20 >>>>> This series removes the vlan stuff without mercy. I've tried to >>>>> make the steps >>>>> as small as possible, but the last one is huge. I did some basic >>>>> tests and >>>>> networking is still working, so reviews are welcome :-D >>>>> =20 >>>> Sorry, this is a bit too rude. This not only removes the vlan model,= >>>> something one may talk about, but also the innocent socket back-ends= >>>> and >>>> the useful pcap dump support. >>>> >>>> Socket back-ends allow quick and easy unprivileged inter-VM network >>>> setups. Nothing for production systems, but useful for testing purpo= ses >>>> on boxes where taps are not allowed or unhandy to configure. >>>> >>>> =20 >>> I agree that it might be handy sometimes, but one could use VDE for >>> that too. Runs on user-space and can be tunneled over SSH or netcat >>> [1]. >>> =20 >> Yes, I know. But it requires yet another process as hop. In contrast, >> peer-to-peer sockets used to be as fast as taps in certain setup (now >> taps became faster again). >> =20 >=20 > Dump is critical to maintain. >=20 > sockets is not terribly useful without vlan. Honestly, I have a hard > time agreeing that it's terribly useful to begin with. I don't buy an > argument about "ease-of-use" because how to properly configure the > sockets backend is not at all obvious. Old style: -net socket,listen=3D:12345 plus -net socket,connect=3D127.0.0.1:12345 and you have linked two VMs. New style would be less handy (unless we map -net on -netdev once vlans are gone), but still following the same pattern. I bet there is only a minor bit missing to get "-netdev socket" working, given that slirp apparently works. If I had time, I would look into this.= Jan --------------enig40AB85444E26F1137044DBD8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkw8ua8ACgkQitSsb3rl5xRtCwCfWfNu16T2uFbA9cyC9GeN0r27 HEIAoKMyh1Gvd+w1L6FpApkvWt0ys3oO =ER+V -----END PGP SIGNATURE----- --------------enig40AB85444E26F1137044DBD8--