From: Sasha Levin <levinsasha928@gmail.com>
To: Asias He <asias.hejun@gmail.com>
Cc: penberg@cs.helsinki.fi, kvm@vger.kernel.org, mingo@elte.hu,
gorcunov@gmail.com
Subject: Re: [PATCH v2] kvm tools: Support multiple net devices
Date: Mon, 26 Sep 2011 14:59:39 +0300 [thread overview]
Message-ID: <1317038379.4465.2.camel@lappy> (raw)
In-Reply-To: <4E8068C7.7080009@gmail.com>
On Mon, 2011-09-26 at 19:57 +0800, Asias He wrote:
> On 09/25/2011 07:11 PM, Sasha Levin wrote:
> > This patch adds support for multiple network devices. The command
> line syntax
> > changes to the following:
> >
> > --network/-n [mode=[tap/user/none]] [guest_ip=[guest ip]]
> [host_ip=
> > [host_ip]] [guest_mac=[guest_mac]] [script=[script]]
>
> This syntax is actually, no?
>
> --network/-n mode=tap,guest_ip=x.x.x.x
>
> not
>
> --network/-n mode=tag guest_ip=x.x.x.x
>
>
> This works for me:
> $ sudo ./kvm run -d sid.img -p root=/dev/vda1 -k bzImage \
> -n mode=tap,host_ip=192.168.100.1 -n mode=tap,host_ip=192.168.200.1
>
> This does not work for me:
> $ sudo ./kvm run -d sid.img -p root=/dev/vda1 -k bzImage \
> -n mode=tap host_ip=192.168.100.1 -n mode=tap host_ip=192.168.200.1
Yes, with ',' ofcourse :)
--
Sasha.
next prev parent reply other threads:[~2011-09-26 12:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-25 11:11 [PATCH v2] kvm tools: Support multiple net devices Sasha Levin
2011-09-26 6:10 ` Pekka Enberg
2011-09-26 11:57 ` Asias He
2011-09-26 11:59 ` Sasha Levin [this message]
2011-09-26 12:11 ` Asias He
2011-09-26 12:14 ` Sasha Levin
2011-09-26 12:22 ` Asias He
2011-09-26 14:54 ` Pekka Enberg
2011-09-26 15:05 ` Asias He
2011-09-26 16:21 ` Avi Kivity
2011-09-26 16:37 ` Sasha Levin
2011-09-26 16:46 ` Pekka Enberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317038379.4465.2.camel@lappy \
--to=levinsasha928@gmail.com \
--cc=asias.hejun@gmail.com \
--cc=gorcunov@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@cs.helsinki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox