diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-04-06 14:18:19 +0300 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-05-06 07:28:49 +0200 |
commit | 733f0b02c80c3a7106d8327a83948ab68db10ea7 (patch) | |
tree | d18117416943eefe7946444bb0ac256aa1ac51e5 /disas.h | |
parent | 3e0650a9c95f343ca5da2b89dc4ad1cd67c2c2d7 (diff) |
qemu: address todo comment in exec.c
exec.c has a comment 'XXX: optimize' for lduw_phys/stw_phys,
so let's do it, along the lines of stl_phys.
The reason to address 16 bit accesses specifically is that virtio relies
on these accesses to be done atomically, using memset as we do now
breaks this assumption, which is reported to cause qemu with kvm
to read wrong index values under stress.
https://bugzilla.redhat.com/show_bug.cgi?id=525323
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'disas.h')
0 files changed, 0 insertions, 0 deletions