projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8386863
)
hw/ptimer: Do not artificially limit timers when using icount
author
Edgar E. Iglesias
<edgar.iglesias@xilinx.com>
Wed, 10 Sep 2014 08:33:58 +0000
(18:33 +1000)
committer
Edgar E. Iglesias
<edgar.iglesias@xilinx.com>
Fri, 8 May 2015 07:15:23 +0000
(17:15 +1000)
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
hw/core/ptimer.c
patch
|
blob
|
history
diff --git
a/hw/core/ptimer.c
b/hw/core/ptimer.c
index 2abad1fa3d18498b9fcf160df5b5c4da5d8564c4..8437bd6e8bf9ed9ab2a23fca40c09985ed8aa8d0 100644
(file)
--- a/
hw/core/ptimer.c
+++ b/
hw/core/ptimer.c
@@
-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;
}