Re: [Qemu-devel] [PATCH] KVM: MMU: fast cleanup D bit based on fast write protect

2019-01-15 Thread Paolo Bonzini
On 12/01/19 09:20, Zhuangyanying wrote: > From: Zhuang Yanying > > Recently I tested live-migration with large-memory guests, find vcpu may hang > for a long time while starting migration, such as 9s for > 2048G(linux-4.20.1+qemu-3.1.0). > The reason is memory_global_dirty_log_start() taking to

[Qemu-devel] [PATCH] KVM: MMU: fast cleanup D bit based on fast write protect

2019-01-12 Thread Zhuangyanying
From: Zhuang Yanying Recently I tested live-migration with large-memory guests, find vcpu may hang for a long time while starting migration, such as 9s for 2048G(linux-4.20.1+qemu-3.1.0). The reason is memory_global_dirty_log_start() taking too long, and the vcpu is waiting for BQL. The page-b