watch_mem_write: implement 8-byte accesses
commit306526b5de6984a164548572fd04d898dd6adbaa
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Oct 2017 12:16:05 +0000 (17 14:16 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2017 08:15:00 +0000 (18 10:15 +0200)
treeffdd1a4b3c57ea7204646f81717464cc72b6513c
parentad52878f97610757390148fe5d5b4cc5ad15c585
watch_mem_write: implement 8-byte accesses

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 <Andrew.Baumann@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c