diff options
Diffstat (limited to 'cpus.c')
| -rw-r--r-- | cpus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpus.c b/cpus.c index 1ec3a9edd4..06da4e7665 100644 --- a/cpus.c +++ b/cpus.c @@ -1206,6 +1206,7 @@ void cpu_stop_current(void) int vm_stop(RunState state) { if (qemu_in_vcpu_thread()) { + qemu_system_vmstop_request_prepare(); qemu_system_vmstop_request(state); /* * FIXME: should not return to device code in case |