qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] patch: allow defining MAC address etc


From: Fabrice Bellard
Subject: Re: [Qemu-devel] patch: allow defining MAC address etc
Date: Sun, 21 Aug 2005 19:03:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Paul Brook wrote:
On Sunday 21 August 2005 01:36, jamal wrote:

This attached patch is intended for allowing automated clever scripting
for networking (tuntap only). Please read and apply if possible.

It does the following:
a) allow for specifying the guest netdevice interface MAC address
(in addition to keeping the old functionality of specifying just
the first one and letting qemu decide what subsequent ones should be)
So now you can say something along the lines of:
"-nics 2 -macaddr0 00:11:a:0:2:19 -macaddr1 00:11:a:0:1:19"
We allow upto 6 such MAC addresses to be specified. Maybe theres
a more clever way to achieve this.


Maybe a comma separated list of MAC addresses. e.g.
"-nics 2 macaddr 00:11:a:0:2:19,00:11:a:0:1:19"

I propose:

-nics 2 -macaddr 00:11:a:0:2:19 -macaddr 00:11:a:0:1:19

For the future, I would like to change the networks options to have something like:

-net usernet,macaddr=00:11:a:0:2:19 -net tunfd=10,macaddr=00:11:a:0:1:19

to be consistent with the character devices.

Fabrice.




reply via email to

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