notdirty_mem_write: implement 8-byte accesses
commitad52878f97610757390148fe5d5b4cc5ad15c585
authorAndrew Baumann <Andrew.Baumann@microsoft.com>
Fri, 13 Oct 2017 18:19:13 +0000 (13 11:19 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2017 08:15:00 +0000 (18 10:15 +0200)
tree2327e116e228d9930f3cf202ca0ccfa88595ee49
parent279836f8190fd9d6428324414ee802c38c09fbc5
notdirty_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 if we missed
in the softmmu, and the TLB line was marked as not dirty, then we
would end up tearing the 8-byte write into two 4-byte writes in
access_with_adjusted_size().

Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Message-Id: <20171013181913.7556-1-Andrew.Baumann@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c