OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946fb27
)
qemu-timer: do not refer to runstate_is_running()
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 12 Sep 2011 12:40:36 +0000
(14:40 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 21 Oct 2011 16:14:30 +0000
(18:14 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c
patch
|
blob
|
history
qemu-timer.c
patch
|
blob
|
history
diff --git
a/cpus.c
b/cpus.c
index
21538e6
..
1328baa
100644
(file)
--- a/
cpus.c
+++ b/
cpus.c
@@
-1059,6
+1059,7
@@
void pause_all_vcpus(void)
{
CPUState *penv = first_cpu;
+ qemu_clock_enable(vm_clock, false);
while (penv) {
penv->stop = 1;
qemu_cpu_kick(penv);
diff --git
a/qemu-timer.c
b/qemu-timer.c
index
8129af6
..
d8507e3
100644
(file)
--- a/
qemu-timer.c
+++ b/
qemu-timer.c
@@
-504,10
+504,7
@@
void qemu_run_all_timers(void)
}
/* vm time timers */
- if (runstate_is_running()) {
- qemu_run_timers(vm_clock);
- }
-
+ qemu_run_timers(vm_clock);
qemu_run_timers(rt_clock);
qemu_run_timers(host_clock);
}