Re: [Qemu-devel] [PATCH V7 RESEND 06/17] COLO: Remove colo_state migration struct

2018-05-16 Thread Zhang Chen
On Wed, May 16, 2018 at 12:02 AM, Dr. David Alan Gilbert < dgilb...@redhat.com> wrote: > * Zhang Chen (zhangc...@gmail.com) wrote: > > We need to know if migration is going into COLO state for > > incoming side before start normal migration. > > > > Instead by using the VMStateDescription to send

Re: [Qemu-devel] [PATCH V7 RESEND 06/17] COLO: Remove colo_state migration struct

2018-05-15 Thread Dr. David Alan Gilbert
* Zhang Chen (zhangc...@gmail.com) wrote: > We need to know if migration is going into COLO state for > incoming side before start normal migration. > > Instead by using the VMStateDescription to send colo_state > from source side to destination side, we use MIG_CMD_ENABLE_COLO > to indicate wheth

[Qemu-devel] [PATCH V7 RESEND 06/17] COLO: Remove colo_state migration struct

2018-05-14 Thread Zhang Chen
We need to know if migration is going into COLO state for incoming side before start normal migration. Instead by using the VMStateDescription to send colo_state from source side to destination side, we use MIG_CMD_ENABLE_COLO to indicate whether COLO is enabled or not. Signed-off-by: zhanghailia