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

2005-08-26 Thread Henrik Nordstrom
On Sun, 21 Aug 2005, Fabrice Bellard wrote: 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. I like this. May even give it a stab as I

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

2005-08-21 Thread Fabrice Bellard
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

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

2005-08-20 Thread jamal
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

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

2005-08-20 Thread Paul Brook
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

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

2005-08-20 Thread jamal
On Sun, 2005-21-08 at 02:04 +0100, 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

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

2005-08-20 Thread jamal
On Sat, 2005-20-08 at 22:46 -0400, jamal wrote: Note the Ids syntax would also be comma separated. Actually no - this would need to have the IDx prefix so that you can pass the ID for non-sequential NICS. Example -ID2 0 , -ID5 3 and the rest get a default which is zero. cheers, jamal

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

2005-08-20 Thread Jim C. Brown
On Sat, Aug 20, 2005 at 10:46:46PM -0400, jamal wrote: Your script should be able to get all the information it needs from the MAC address. You can either hardcode addresses or do pattern matching. The guest MAC address is arbitrary, so you can choose whatever numbering is convenient.

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

2005-08-20 Thread Jim C. Brown
On Sat, Aug 20, 2005 at 11:18:29PM -0400, jamal wrote: On Sat, 2005-20-08 at 22:46 -0400, jamal wrote: Note the Ids syntax would also be comma separated. Actually no - this would need to have the IDx prefix so that you can pass the ID for non-sequential NICS. Example -ID2 0 , -ID5 3 and