From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yugjg-0001TU-Cs for qemu-devel@nongnu.org; Tue, 19 May 2015 08:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yugjb-0000mO-D0 for qemu-devel@nongnu.org; Tue, 19 May 2015 08:35:04 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:32893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yugjb-0000lt-69 for qemu-devel@nongnu.org; Tue, 19 May 2015 08:34:59 -0400 Received: by wgjc11 with SMTP id c11so16175221wgj.0 for ; Tue, 19 May 2015 05:34:57 -0700 (PDT) Date: Tue, 19 May 2015 13:34:54 +0100 From: Stefan Hajnoczi Message-ID: <20150519123454.GA9338@stefanha-thinkpad.redhat.com> References: <1431701904-12230-1-git-send-email-thuth@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <1431701904-12230-1-git-send-email-thuth@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] net: Change help text to list -netdev instead of -net by default List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: Jason Wang , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Stefan Hajnoczi , Markus Armbruster --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 15, 2015 at 04:58:24PM +0200, Thomas Huth wrote: > Looking at the output of "qemu-system-xxx -help", you easily get > the impression that "-net" is the preferred way instead of "-netdev" > to specify host network interface, since the "-net" option is > omnipresent but the "-netdev" option is only listed as a one-liner > at the end. This is ugly since "-net" is considered as legacy and > even might be removed one day. Thus, this patch switches the output > to explain the host network interfaces with the "-netdev" option > instead, moving the old "-net" option into some few lines at > the end. >=20 > Signed-off-by: Thomas Huth > --- > v2: > - Included review feedback from Markus Armbruster > - Do not declare "-net" as deprecated yet (as noted by Paolo) > --- > qemu-options.hx | 77 +++++++++++++++++++++++++++++++++------------------= ------ > 1 file changed, 45 insertions(+), 32 deletions(-) Thanks, applied to my net tree: https://github.com/stefanha/qemu/commits/net Stefan --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVWy3uAAoJEJykq7OBq3PI5gsH/2G4FkXchTZgCPjWRZA0gpqX Da/YvvNZDKEcj09k/uAgv5e5E9Lezf/2/iyEniXvo23pxL9g7qVPh77WXUnxu7B/ Ycj/NqulNtmXHzJ3xuZKPmp4SIiZpr9LcVUWJejgUFbW2KYlrRUp0M9d6HPMHK0a nUpx0/D9oWPM+01RT+jfoAMM2C8HBwxT+h3HwJViKl9DGVmqfN/WUVFi1d1ktf4G R4EfAT59Gja1+5m7znAtY7L7qH1AaSe7qpGj+veORY27u4wbkX+Qen055EhQWtd8 iKWw87MOZRmPzNjgabYIxo1htewR9Hed33dHjhFsKc6BpzfgfHQ2sl+YXljE2KE= =ybKO -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--