mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
hw/ptimer: Do not artificially limit timers when using icount
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
This commit is contained in:
+1
-1
@@ -189,7 +189,7 @@ void ptimer_set_limit(ptimer_state *s, uint64_t limit, int reload)
|
||||
* on the current generation of host machines.
|
||||
*/
|
||||
|
||||
if (limit * s->period < 10000 && s->period) {
|
||||
if (!use_icount && limit * s->period < 10000 && s->period) {
|
||||
limit = 10000 / s->period;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user