projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caf8fe8
)
Leave running timer alone if not reloading.
author
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Jun 2007 10:44:47 +0000
(10:44 +0000)
committer
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Jun 2007 10:44:47 +0000
(10:44 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2923
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/ptimer.c
patch
|
blob
|
history
diff --git
a/hw/ptimer.c
b/hw/ptimer.c
index feabefed9610a42b92dbf108f4c48c452f7d4435..2abf285afeb27d6385adc330e58edd991d21e121 100644
(file)
--- a/
hw/ptimer.c
+++ b/
hw/ptimer.c
@@
-149,7
+149,7
@@
void ptimer_set_limit(ptimer_state *s, uint64_t limit, int reload)
s->limit = limit;
if (reload)
s->delta = limit;
- if (s->enabled) {
+ if (s->enabled
&& reload
) {
s->next_event = qemu_get_clock(vm_clock);
ptimer_reload(s);
}