Re: [Qemu-devel] [PATCH] watch_mem_write: implement 8-byte accesses

2017-10-18 Thread Philippe Mathieu-Daudé
On 10/17/2017 09:17 AM, Paolo Bonzini wrote: > Aligned 8-byte memory writes by a 64-bit target on a 64-bit host should > always turn into atomic 8-byte writes on the host, however a write > write watchpoint would end up tearing the 8-byte write into two 4-byte > writes in access_with_adjusted_size(

Re: [Qemu-devel] [PATCH] watch_mem_write: implement 8-byte accesses

2017-10-18 Thread Emilio G. Cota
On Tue, Oct 17, 2017 at 14:17:14 +0200, Paolo Bonzini wrote: > Aligned 8-byte memory writes by a 64-bit target on a 64-bit host should > always turn into atomic 8-byte writes on the host, however a write > write watchpoint would end up tearing the 8-byte write into two 4-byte s/write\nwrite/write/

Re: [Qemu-devel] [PATCH] watch_mem_write: implement 8-byte accesses

2017-10-17 Thread Richard Henderson
On 10/17/2017 05:17 AM, Paolo Bonzini wrote: > Aligned 8-byte memory writes by a 64-bit target on a 64-bit host should > always turn into atomic 8-byte writes on the host, however a write > write watchpoint would end up tearing the 8-byte write into two 4-byte > writes in access_with_adjusted_size(

[Qemu-devel] [PATCH] watch_mem_write: implement 8-byte accesses

2017-10-17 Thread Paolo Bonzini
Aligned 8-byte memory writes by a 64-bit target on a 64-bit host should always turn into atomic 8-byte writes on the host, however a write write watchpoint would end up tearing the 8-byte write into two 4-byte writes in access_with_adjusted_size(). Reported-by: Andrew Baumann Signed-off-by: Paolo