kvm: qemu: make sure all vcpus are paused before saving state
commitae0df5fca365941ebe629e0aa54fce45c56e94b8
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 9 Apr 2008 21:58:04 +0000 (9 18:58 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 13 Apr 2008 08:37:27 +0000 (13 11:37 +0300)
tree67e494f3fb598bd2ea0daf04c74eacb6bd583f88
parentf1fbe45cad078d376a04f8d92bef34c3be3f06be
kvm: qemu: make sure all vcpus are paused before saving state

Make sure that all threads are paused in userspace before saving machine
state.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/qemu-kvm.c