Re: [Qemu-devel] [PATCH COLO-Frame v6 30/31] COLO: Implement shutdown checkpoint

2015-06-18 Thread Paolo Bonzini
On 18/06/2015 10:58, zhanghailiang wrote: > +void qemu_system_shutdown_request(void) > +{ > +trace_qemu_system_shutdown_request(); > +/* > +* if in colo mode, we need do some significant work before respond to the > +* shutdown request. > +*/ > +if (loadvm_in_colo_state())

[Qemu-devel] [PATCH COLO-Frame v6 30/31] COLO: Implement shutdown checkpoint

2015-06-18 Thread zhanghailiang
For Secondary VM, we forbid it shutdown directly when in COLO mode, FOR Primary VM's shutdown, we should do some work to ensure the consistent action between PVM and SVM. Cc: Paolo Bonzini Signed-off-by: zhanghailiang Signed-off-by: Lai Jiangshan Signed-off-by: Li Zhijian --- include/sysemu/