]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: restart CPUs when recover from interrupted snapshot job
authorWangjing (King, Euler) <king.wang@huawei.com>
Thu, 5 Jan 2017 09:34:17 +0000 (09:34 +0000)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 5 Jan 2017 09:47:03 +0000 (10:47 +0100)
commit3afaae4984177f61b4ea68e54a533bed71d41469
tree7ec5dbc6838c774d98faf373c70a1b0956b2d0a7
parent1d0fde7ee137d2a80c937db1037cbc5fd2e2cde5
qemu: snapshot: restart CPUs when recover from interrupted snapshot job

If we restart libvirtd while VM was doing external memory snapshot, VM's
state be updated to paused as a result of running a migration-to-file
operation, and then VM will be left as paused state. In this case we must
restart the VM's CPUs to resume it.

Signed-off-by: Wang King <king.wang@huawei.com>
src/qemu/qemu_process.c