mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
qemu-timer: do not refer to runstate_is_running()
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
946fb27c1d
commit
a5c57d64aa
2 changed files with 2 additions and 4 deletions
1
cpus.c
1
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue