On 21/08/19 08:42, Gerd Hoffmann wrote:
So we should use '-cpu Conroe' or '-cpu core2duo' minimum?
-cpu Conroe for -M isapc is kida silly though ...
Maybe we should simply build seabios with CONFIG_TSC_TIMER=n ?
Using the TSC in a virtual machine is problematic anyway, the calibration can be _way_ off on a loaded host, this is why seabios prefers the (fixed frequency) pmtimer.
Yeah, that falls back to the PIT which is a good enough source for SeasBIOS's needs (1 MHz, one third of the pmtimer). It overflows a bit too easily but it shouldn't be a big deal for users of isapc.
Paolo