On Wed, Apr 18, 2007 at 10:44:27PM -0500, Gregory Smith wrote: > On Wed, Apr 18, 2007 at 10:48:47PM -0400, Jeff Dike wrote: > > Disable CONFIG_UML_REAL_TIME_CLOCK. That will turn off UML's attempts > > to catch up with the real world when it's been asleep for a while. > > This measure seems to be, on its own, insufficient. For example, the > UML binary in the following example was built with that option > disabled: > > --------------- snip > uml:~# date > Wed Apr 18 22:31:40 CDT 2007 > > // mconsole stop, wait ~30 sec, mconsole go > > uml:~# date > Wed Apr 18 22:32:14 CDT 2007
Do you really care about gettimeofday? That is tied to the host, in the sense that the UML gtod calls the host's gtod. However, sleeps inside UML should behave as you want. If you can demonstrate otherwise, please do. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user