Re: [Qemu-devel] [PATCH] Fix incorrect state information for migrate_cancel

2013-12-06 Thread Luiz Capitulino
On Thu, 05 Dec 2013 18:49:15 -0700 "Lin Ma" wrote: > In qemu-1.4.x, When performing migrate_cancel on hmp, Sometimes > s->state is incorrrectly saved to MIG_STATE_ERROR instead of > MIG_STATE_CANCELLED. > > If the migrate_fd_cancel in main thread is scheduled to run before > the thread buffered_

[Qemu-devel] [PATCH] Fix incorrect state information for migrate_cancel

2013-12-05 Thread Lin Ma
In qemu-1.4.x, When performing migrate_cancel on hmp, Sometimes s->state is incorrrectly saved to MIG_STATE_ERROR instead of MIG_STATE_CANCELLED. If the migrate_fd_cancel in main thread is scheduled to run before the thread buffered_file_thread calls migrate_fd_put_buffer, The s->state will be mod

[Qemu-devel] [PATCH] Fix incorrect state information for migrate_cancel

2013-12-01 Thread Lin Ma
In qemu-1.4.x, When performing migrate_cancel on hmp, Sometimes s->state is incorrrectly saved to MIG_STATE_ERROR instead of MIG_STATE_CANCELLED. If the migrate_fd_cancel in main thread is scheduled to run before the thread buffered_file_thread calls migrate_fd_put_buffer, The s->state will be mod