From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTOxJ-0006xa-8G for qemu-devel@nongnu.org; Tue, 21 Jul 2009 19:41:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTOxE-0006u6-9U for qemu-devel@nongnu.org; Tue, 21 Jul 2009 19:41:08 -0400 Received: from [199.232.76.173] (port=46603 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTOxD-0006tz-V1 for qemu-devel@nongnu.org; Tue, 21 Jul 2009 19:41:04 -0400 Received: from qw-out-1920.google.com ([74.125.92.146]:58499) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTOxD-00067w-LP for qemu-devel@nongnu.org; Tue, 21 Jul 2009 19:41:03 -0400 Received: by qw-out-1920.google.com with SMTP id 5so1182936qwc.4 for ; Tue, 21 Jul 2009 16:41:02 -0700 (PDT) Message-ID: <4A66520C.2010102@codemonkey.ws> Date: Tue, 21 Jul 2009 18:41:00 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <20090721143936.GA18061@amd.home.annexia.org> <4A65FD5B.6050509@siemens.com> <4A661F7C.5030105@codemonkey.ws> <4A664ACD.9070208@web.de> In-Reply-To: <4A664ACD.9070208@web.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Jan Kiszka Cc: "Richard W.M. Jones" , qemu-devel@nongnu.org Jan Kiszka wrote: >> The syntax I proposed early for -drive could address this. >> >> -net user,name=foo,guestfwd=tcp:10.0.2.4:6666 >> -net.foo.guestfwd-arg unix:/some/path,server,nowait >> >> > > 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). The throw an error. -drive name=foo is also useless without a file= option. > If at all, we would have to push server and > nowait into the additional args. Still, this requires more thoughts. > Yes, the server and nowait options are unfortunate. We should probably introduce mode=client|server and wait=on|off. Best thing to do is completely swizzle the char device syntax. Something like: -char name=foo,type=unix,unix-path=/some/path,mode=server,wait=off Then allow a char: url to be used anywhere that takes traditional char device urls. -net user,guestfwd=tcp:10.0.2.4:6666-char:foo > Jan > > Regards, Anthony Liguori