mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ void ptimer_set_limit(ptimer_state *s, uint64_t limit, int reload)
|
||||||
* on the current generation of host machines.
|
* 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;
|
limit = 10000 / s->period;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue