Hi Bernard,

On 6/10/25 3:22 AM, Bernhard Beschow wrote:
As it seems a bit too good to be true, time for questions:
- Has it already been considered?
- Any obvious downside I might have skipped?

The only downside I can see is that it seems to disturb QEMU's internal 
timekeeping. The GTK gui freezes for quite some time when the time facor is 
very low, e.g. 0.001.

Best regards,
Bernhard


Yes, faking all the calls to gettimeofday is not the best solution, as it impacts qemu beyond its clock management. This could be a good argument to have something implemented in QEMU, which impacts only get_clock() and get_clock_realtime().

Thanks,
Pierrick


Reply via email to