Received: from [140.186.70.92] (port=49069 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYwEx-0003r5-Ah for qemu-devel@nongnu.org; Wed, 14 Jul 2010 03:18:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYwEv-00055G-Vq for qemu-devel@nongnu.org; Wed, 14 Jul 2010 03:18:47 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:43419) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYwEv-000550-Ba for qemu-devel@nongnu.org; Wed, 14 Jul 2010 03:18:45 -0400 Message-ID: <4C3D64D4.5080506@web.de> Date: Wed, 14 Jul 2010 09:18:44 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1278962453-15774-1-git-send-email-miguel.filho@gmail.com> <1278962453-15774-9-git-send-email-miguel.filho@gmail.com> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE5E8350F884EDB83A719BB69" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH 8/8] vlan cleanup: remove usage of VLANState List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Miguel Di Ciurcio Filho , qemu-devel@nongnu.org, avi@redhat.com This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE5E8350F884EDB83A719BB69 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Markus Armbruster wrote: > Miguel Di Ciurcio Filho writes: >> diff --git a/qemu-monitor.hx b/qemu-monitor.hx >> index 275f3bc..e2c2a75 100644 >> --- a/qemu-monitor.hx >> +++ b/qemu-monitor.hx >> @@ -1224,8 +1224,8 @@ EQMP >> #ifdef CONFIG_SLIRP >> { >> .name =3D "hostfwd_add", >> - .args_type =3D "arg1:s,arg2:s?,arg3:s?", >> - .params =3D "[vlan_id name] [tcp|udp]:[hostaddr]:hostport= -[guestaddr]:guestport", >> + .args_type =3D "arg1:s,arg2:s?", >> + .params =3D "[tcp|udp]:[hostaddr]:hostport-[guestaddr]:gu= estport", >> .help =3D "redirect TCP or UDP connections from host to= guest (requires -net user)", >> .mhandler.cmd =3D net_slirp_hostfwd_add, >> }, >=20 > params is inconsistent with args_type and net_slirp_hostfwd_add(). Instead of the vlan ID, we need the netdev ID here - actually already now because we can set up multiple slirp netdevs but cannot address them via hostfwd_add/remove. Jan --------------enigE5E8350F884EDB83A719BB69 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 iEYEARECAAYFAkw9ZNsACgkQitSsb3rl5xSEewCgho9/CxAIlniRwj0a9XrC419Y /7EAn0XCIQkwFN55g50VjdV2nUe4XC4V =fiy1 -----END PGP SIGNATURE----- --------------enigE5E8350F884EDB83A719BB69--