]> git.proxmox.com Git - mirror_qemu.git/commit - softmmu/runstate.c
Fix the qemu crash when guest shutdown during checkpoint
authorRao, Lei <lei.rao@intel.com>
Tue, 8 Jun 2021 08:23:26 +0000 (16:23 +0800)
committerJason Wang <jasowang@redhat.com>
Fri, 11 Jun 2021 02:30:13 +0000 (10:30 +0800)
commit229620d52e389bc7690f11e4f5fa9b249b5ca65d
tree32663e92174194e1dd7664f60ec1dfe6ea382597
parentf1ff9c437711803f4862e580a211b3af8bb369c7
Fix the qemu crash when guest shutdown during checkpoint

This patch fixes the following:
    qemu-system-x86_64: invalid runstate transition: 'colo' ->'shutdown'
    Aborted (core dumped)

Signed-off-by: Lei Rao <lei.rao@intel.com>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Lukas Straub <lukasstraub2@web.de>
Tested-by: Lukas Straub <lukasstraub2@web.de>
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
softmmu/runstate.c