Commit f8340b36 authored by Edgar E. Iglesias's avatar Edgar E. Iglesias
Browse files

hw/ptimer: Do not artificially limit timers when using icount

parent 83868635
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }