On 04/22/2017 03:25 AM, zhanghailiang wrote: > If VM is in COLO FT state, we need to do some extra works before > starting normal shutdown process. > > Secondary VM will ignore the shutdown command if users issue it directly > to Secondary VM. COLO will capture shutdown command and after > shutdown request from user. > > Cc: Paolo Bonzini <pbonz...@redhat.com> > Signed-off-by: zhanghailiang <zhang.zhanghaili...@huawei.com> > Signed-off-by: Li Zhijian <lizhij...@cn.fujitsu.com> > Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > ---
> +++ b/qapi-schema.json > @@ -1187,12 +1187,14 @@ > # > # @vmstate-loaded: VM's state has been loaded by SVM. > # > +# @guest-shutdown: shutdown requested from PVM to SVM. (Since 2.9) You missed 2.9. Please fix this to state 2.10. > +# > # Since: 2.8 > ## > { 'enum': 'COLOMessage', > 'data': [ 'checkpoint-ready', 'checkpoint-request', 'checkpoint-reply', > 'vmstate-send', 'vmstate-size', 'vmstate-received', > - 'vmstate-loaded' ] } > + 'vmstate-loaded', 'guest-shutdown' ] } > -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature