mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00: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:
parent
838686357b
commit
f8340b360b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user