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

2005-08-22 Thread jamal
And heres a small cleanup on top of that patch. Just removes and extraneous printfs and makes sure we use the ":" as delimiter for mac address instead of ".". If needed i can resend the whole thing again with this new cleanup. cheers, jamal On Sun, 2005-21-08 at 21:44 -040

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

2005-08-21 Thread jamal
script now receives $2 as the guest MAC address. One could encode a byte or two in this MAC address for example as a message to the host script so that it can do something like prepare a route etc cheers, jamal diff --git a/vl.c b/vl.c --- a/vl.c +++ b/vl.c @@ -1652,7 +1652,7 @@ static void

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

2005-08-21 Thread jamal
ay or early AM tommorow. cheers, jamal ___ Qemu-devel mailing list [EMAIL PROTECTED] http://lists.nongnu.org/mailman/listinfo/qemu-devel

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,

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

2005-08-20 Thread jamal
On Sun, 2005-21-08 at 03:22 +0100, Paul Brook wrote: > On Sunday 21 August 2005 02:56, jamal wrote: > > i could do this; macaddr is already being used to imply the start > > macaddr. Does macaddrs sound better? > > Part of the reason I suggested this was because it i

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

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

2005-08-20 Thread jamal
sed on the ID passed. Also i could get rid of passing the MAC if deemed unneeded. cheers, jamal --- qemu-0.7.0/vl.h 2005-04-27 16:52:05.0 -0400 +++ qemu-0.7.0-mod/vl.h 2005-08-20 06:57:56.0 -0400 @@ -238,7 +238,8 @@ typedef struct NetDriverState { int index; /*

[Qemu-devel] patch for allowing automated IP assignment based on MAC

2005-04-23 Thread jamal
and you like this patch please apply it. I am not on the list so please CC me on any responses. cheers, jamal #include #include #include #include #include #include #undef __KERNEL__ #include #include #include #include #include #include #include #include #include #include #include