Re: [Qemu-devel] [PATCH 3/4] memory: introduce memory_global_after_dirty_log_sync

2018-02-09 Thread Richard Henderson
On 02/09/2018 02:45 AM, Paolo Bonzini wrote: > There is a race between TCG and accesses to the dirty log: > > vCPU thread reader thread > --- --- > TLB check -> slow path > notdirty_mem_write > write

[Qemu-devel] [PATCH 3/4] memory: introduce memory_global_after_dirty_log_sync

2018-02-09 Thread Paolo Bonzini
There is a race between TCG and accesses to the dirty log: vCPU thread reader thread --- --- TLB check -> slow path notdirty_mem_write write to RAM set dirty flag