qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] specify vmchannel as part of "user" net option


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH] specify vmchannel as part of "user" net option
Date: Thu, 15 Jan 2009 23:58:21 +0000
User-agent: Mutt/1.4.1i

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 :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]