Re: [PATCH] bugfix:migrate with block-dirty-bitmap (disk size is big enough) can't be finished

2022-09-15 Thread Vladimir Sementsov-Ogievskiy
Post-copy migration of dirty-bitmaps doesn't mean post-copy migration of RAM. To turn on post-copy migration of RAM, you should enable postcopy-ram capability. If you don't enable it, RAM is migrated in pre-copy (i.e. before starting VM on target). migrate-start-postcopy command doesn't enable

Re:Re: [PATCH] bugfix:migrate with block-dirty-bitmap (disk size is big enough) can't be finished

2022-09-14 Thread liuhaiwei9699
Hi ,Vladimir sometimes ,post-copy mode is not the best choice. For instance, Supposing migrate process will take ten minutes,but network may be interruptted In this process . If it does happenthe , memory data of VM will be splitted into two parts, and will not be rollback.This is a bad situatio

Re:Re: [PATCH] bugfix:migrate with block-dirty-bitmap (disk size is big enough) can't be finished

2022-09-10 Thread liuhaiwei9699
sometimes ,post-copy mode is not the best choice. For instance, Supposing migrate process will take ten minutes,but network may be interruptted In this process . If it does happenthe , memory data of VM will be splitted into two parts, and will not be rollback.This is a bad situation so mi

Re: [PATCH] bugfix:migrate with block-dirty-bitmap (disk size is big enough) can't be finished

2022-09-10 Thread 刘海伟
hi,i have a question if failed in migration using post-copy mode,is there some way to restore the memory data back to soucre VM? 发自我的小米 在 Vladimir Sementsov-Ogievskiy ,2022年9月10日 下午6:18写道: On 9/10/22 09:35, liuhaiwei wrote: > From: liuhaiwei > > bug description as https://gitlab.com/qemu-pr

Re: [PATCH] bugfix:migrate with block-dirty-bitmap (disk size is big enough) can't be finished

2022-09-10 Thread Vladimir Sementsov-Ogievskiy
Hi! On 9/10/22 13:47, Seaway Liu(刘海伟) wrote: hi,i have a question if failed in migration using post-copy mode,is there some way to restore the memory data back to soucre VM? As far as I understand, no, there is not. Postcopy started actually means: target has started. So, RAM is touched by

Re: [PATCH] bugfix:migrate with block-dirty-bitmap (disk size is big enough) can't be finished

2022-09-10 Thread Vladimir Sementsov-Ogievskiy
On 9/10/22 09:35, liuhaiwei wrote: From: liuhaiwei bug description as https://gitlab.com/qemu-project/qemu/-/issues/1203 Usually,we use the precopy or postcopy mode to migrate block dirty bitmap. but if block-dirty-bitmap size more than threshold size,we cannot entry the migration_completion

[PATCH] bugfix:migrate with block-dirty-bitmap (disk size is big enough) can't be finished

2022-09-09 Thread liuhaiwei
From: liuhaiwei bug description as https://gitlab.com/qemu-project/qemu/-/issues/1203 Usually,we use the precopy or postcopy mode to migrate block dirty bitmap. but if block-dirty-bitmap size more than threshold size,we cannot entry the migration_completion in migration_iteration_run function T