RE: [PATCH v2 3/3] Fix the qemu crash when guest shutdown in COLO mode

2020-09-22 Thread Zhang, Chen
ject: [PATCH v2 3/3] 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 SHU

[PATCH v2 3/3] Fix the qemu crash when guest shutdown in COLO mode

2020-09-22 Thread leirao
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