From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTOTS-0000hL-VA for qemu-devel@nongnu.org; Tue, 21 Jul 2009 19:10:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTOTO-0000fo-JM for qemu-devel@nongnu.org; Tue, 21 Jul 2009 19:10:18 -0400 Received: from [199.232.76.173] (port=51116 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTOTO-0000fl-Es for qemu-devel@nongnu.org; Tue, 21 Jul 2009 19:10:14 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:39411) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTOTN-0001kB-Sc for qemu-devel@nongnu.org; Tue, 21 Jul 2009 19:10:14 -0400 Message-ID: <4A664ACD.9070208@web.de> Date: Wed, 22 Jul 2009 01:10:05 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <20090721143936.GA18061@amd.home.annexia.org> <4A65FD5B.6050509@siemens.com> <4A661F7C.5030105@codemonkey.ws> In-Reply-To: <4A661F7C.5030105@codemonkey.ws> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF51A427038D755FAAFCB22B0" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: guestfwd option doesn't allow supplementary , server, nowait List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: "Richard W.M. Jones" , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF51A427038D755FAAFCB22B0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Anthony Liguori wrote: > Jan Kiszka wrote: >> >>> However in the new syntax that would be: >>> >>> -net user,guestfwd=3Dtcp:10.0.2.4:6666-unix:/some/path,server,nowai= t >>> >>> This gives errors like: >>> >>> qemu: invalid parameter 'server,nowait' in >>> 'vlan=3D0,guestfwd=3Dtcp:10.0.2.4:6666-unix:/tmp/libguestfshRZgxr/soc= k,server,nowait' >>> >>> =20 >> >> Yep, that case does not fit into the syntax of comma-separated >> arguments. We need to find a new syntax within the given constraints. >> Need to think about it. >> =20 > The syntax I proposed early for -drive could address this. >=20 > -net user,name=3Dfoo,guestfwd=3Dtcp:10.0.2.4:6666 > -net.foo.guestfwd-arg unix:/some/path,server,nowait >=20 I general yes, but I would rate this particular suggestion as a bad example for intuitive argument splitting (guestfwd is useless without a target like unix:/bla). If at all, we would have to push server and nowait into the additional args. Still, this requires more thoughts. Jan --------------enigF51A427038D755FAAFCB22B0 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 iEYEARECAAYFAkpmSs0ACgkQniDOoMHTA+mtkACeNrM3uuVemY0q05qCknCDYqAp gJYAni6KJx1oNFxmSuChCmDzQyAIHBvP =vfd+ -----END PGP SIGNATURE----- --------------enigF51A427038D755FAAFCB22B0--