qemu/softmmu
Rao, Lei 5647051f43 Fix the qemu crash when guest shutdown in COLO mode
In COLO mode, if the startup parameters of QEMU include "no-shutdown",
QEMU will crash when the guest shutdown. The root cause is when the
guest shutdown, the state of VM will switch COLO to SHUTDOWN. When do
checkpoint again, the state will be changed to COLO. But the state
switch is undefined in runstate_transitions_def, we should add it.
This patch fixes the following:
qemu-system-x86_64: invalid runstate transition: 'shutdown' -> 'colo'
Aborted

Signed-off-by: Lei Rao <lei.rao@intel.com>
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2020-11-11 16:52:23 +08:00
..
arch_init.c 8bit AVR port from Michael Rolnik. 2020-07-11 19:27:59 +01:00
balloon.c qapi: Restrict balloon-related commands to machine code 2020-09-29 15:41:35 +02:00
bootdevice.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
cpu-throttle.c qemu/atomic.h: rename atomic_ to qatomic_ 2020-09-23 16:07:44 +01:00
cpu-timers.c cpus: prepare new CpusAccel cpu accelerator interface 2020-10-05 16:41:22 +02:00
cpus.c qapi: Restrict 'inject-nmi' command to machine code 2020-10-21 05:00:44 +02:00
device_tree.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
dma-helpers.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
icount.c icount: rename functions to be consistent with the module name 2020-10-05 16:41:22 +02:00
ioport.c softmmu: Add missing trace-events file 2020-09-09 17:15:18 +01:00
main.c meson: move SDL and SDL-image detection to meson 2020-08-21 06:30:44 -04:00
memory_mapping.c softmmu: move softmmu only files from root 2020-07-10 18:02:24 -04:00
memory.c memory: Add interface to set iommu page size mask 2020-11-03 07:19:27 -05:00
meson.build exec: split out non-softmmu-specific parts 2020-10-12 11:50:22 -04:00
physmem.c exec: Remove dead code (CID 1432876) 2020-11-03 09:42:52 -05:00
qdev-monitor.c device_core: use drain_call_rcu in in qmp_device_add 2020-10-12 11:50:50 -04:00
qemu-seccomp.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
qtest.c module: silence errors for module_load_qom_all(). 2020-10-15 10:43:48 +02:00
timers-state.h cpu-timers, icount: new modules 2020-10-05 16:41:22 +02:00
tpm.c softmmu: move more files to softmmu/ 2020-10-12 11:50:21 -04:00
trace-events softmmu: Add missing trace-events file 2020-09-09 17:15:18 +01:00
trace.h softmmu: Add missing trace-events file 2020-09-09 17:15:18 +01:00
vl.c Fix the qemu crash when guest shutdown in COLO mode 2020-11-11 16:52:23 +08:00