Re: [Qemu-devel] [Migration][TCG] Page dirtying and migration in pure-QEMU VM mode

2015-09-06 Thread Pavel Boldin
A little self-update here. 1. It is seems to be enough to just flush TLB entries with the iothread lock held since the CPUs are stopped here. 2. The upstream version is not vulnerable to the bug due to the following code call path: ram_save_setup -> memory_global_dirty_log_start -> memory_region_

[Qemu-devel] [Migration][TCG] Page dirtying and migration in pure-QEMU VM mode

2015-09-03 Thread Pavel Boldin
Dear All, As a result of fixing the bug [1] I discovered that QEMU in pure emulation (TCG) sometimes misses page dirtying on the migration. This is happens at least in the version 2.0.0 and should, according to the code, be the same in the master as well. The reason for that is that only pages mi