Re: [uml-user] include files

2006-08-23 Thread Jeff Dike
On Tue, Aug 22, 2006 at 04:27:17PM -0700, John Zavgren wrote: > I tried to modify the code in arch/um/drivers/net_user.c so that I could > introduce a delay (of a few milliseconds) to simulate the transmission time > of ethernet packets. I used calls to: set_current_state, and > schedule_timeout_in

Re: [uml-user] include files

2006-08-22 Thread alessandro salvatori
processor specific => SUBARCH specific. and, afaik, SUBARCH defaults to the host processor type unless otherwise specified. for example, on my x86_64 host system i do a make ARCH=um SUBARCH=i386 in order to create a 32bit UML that runs on top of a 64bit host. introducing a delay via a netem qdisc

[uml-user] include files

2006-08-22 Thread John Zavgren
Greetings, dear list:   I tried to modify the code in arch/um/drivers/net_user.c so that I could introduce a delay (of a few milliseconds) to simulate the transmission time of ethernet packets. I used calls to: set_current_state, and schedule_timeout_interruptable. I added the necessary include fil