qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Migration][TCG] Page dirtying and migration in pure-QE


From: Pavel Boldin
Subject: Re: [Qemu-devel] [Migration][TCG] Page dirtying and migration in pure-QEMU VM mode
Date: Mon, 7 Sep 2015 00:25:07 +0300

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_transaction_commit -> tcg_commit -> CPU_FOREACH(cpu) tlb_flush(cpu, 1);.
The fix was introduced by the commit [1]

3. QEMU versions 2.0.0 (including Ubuntu's one) and 2.3.1 are vulnerable to the bug. I will report these as appropriate.

[1] http://git.qemu.org/?p=qemu.git;a=commit;h=6f6a5ef3e429f92f987678ea8c396aab4dc6aa19

Pavel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]