From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNc6T-0008PG-8u for qemu-devel@nongnu.org; Thu, 15 Jan 2009 18:58:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNc6S-0008OD-CZ for qemu-devel@nongnu.org; Thu, 15 Jan 2009 18:58:24 -0500 Received: from [199.232.76.173] (port=48782 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNc6S-0008O0-6o for qemu-devel@nongnu.org; Thu, 15 Jan 2009 18:58:24 -0500 Received: from mx1.redhat.com ([66.187.233.31]:33289) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNc6R-0004Mq-E4 for qemu-devel@nongnu.org; Thu, 15 Jan 2009 18:58:23 -0500 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n0FNwM12006879 for ; Thu, 15 Jan 2009 18:58:22 -0500 Received: from file.fab.redhat.com (file.fab.redhat.com [10.33.63.6]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n0FNwMkp008087 for ; Thu, 15 Jan 2009 18:58:23 -0500 Received: from file.fab.redhat.com (localhost.localdomain [127.0.0.1]) by file.fab.redhat.com (8.13.1/8.13.1) with ESMTP id n0FNwLdp019856 for ; Thu, 15 Jan 2009 23:58:21 GMT Received: (from berrange@localhost) by file.fab.redhat.com (8.13.1/8.13.1/Submit) id n0FNwLCQ019852 for qemu-devel@nongnu.org; Thu, 15 Jan 2009 23:58:21 GMT Date: Thu, 15 Jan 2009 23:58:21 +0000 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] [PATCH] specify vmchannel as part of "user" net option Message-ID: <20090115235821.GA18237@redhat.com> References: <20090111151008.GL3267@redhat.com> <496F9B65.2030102@codemonkey.ws> <20090115205459.GA27165@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090115205459.GA27165@redhat.com> Reply-To: "Daniel P. Berrange" , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, Jan 15, 2009 at 10:54:59PM +0200, Gleb Natapov wrote: > On Thu, Jan 15, 2009 at 02:24:05PM -0600, Anthony Liguori wrote: > > Gleb Natapov wrote: > >> To configure vmchannel and something like this to -net user: > >> channels=;777:unix:/tmp/777,server > >> > > > > I'd really like to avoid using ';' as a deliminator. Is the a more > > clever way we can do this without it totally sucking? > > > I can't say I like it, but we can't use ',' and ':' as parsing will be > ambiguous. So what's left? Perhaps this is a sign that we should not try to overload it all into one argument after all. How about just having a separate -net option for each channel we wish to hook onto a NIC - a little cleverness behind the scenes could make them all backed by a single Slirp device, without forcing them to use a single ARGV for config eg qemu -net nic,vlan=8 \ -net channel=666,vlan=8,:unix:/tmp/666,server,nowait \ -net channel=777,vlan=8,:unix:/tmp/777,server Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|