Hi list, I'd like to pause UML's wall clock (and jiffies count) when I issue a "stop" to the VM, and resume it when I issue "go", so that the VMs notion of time only reflects its running time.
I've been poking around a bit, but I've only just started learning about the internals of the linux kernel, so it's slow going. My first (admittedly naive) approach was to merely use set the clock using do_settimeofday in drivers/mconsole_kern.c:mconsole_stop(), but this seems to cause strange behavior for time-sensitive programs inside the VM. >From what I've read in the past few days, this approach is seriously unenlightened. I feel like the best way to implement the desired functionality would be to somehow stop timer interrupts from reaching the kernel. However, I haven't been able to figure out how to do this yet. If anyone has any pointers or suggestions, I'd really appreciate the help. Thanks, Greg ------------------------------------------------------------------------- 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