summaryrefslogtreecommitdiffstats
path: root/tests/tcg
diff options
context:
space:
mode:
authorPaolo Bonzini2022-08-26 13:00:00 +0200
committerPaolo Bonzini2022-09-01 08:37:04 +0200
commit4802bf910eee98312c4a9777ac2567e6a0445c46 (patch)
tree7c1d4d078912c9f41362d4109504ead108066298 /tests/tcg
parentmeson: remove dead assignments (diff)
downloadqemu-4802bf910eee98312c4a9777ac2567e6a0445c46.tar.gz
qemu-4802bf910eee98312c4a9777ac2567e6a0445c46.tar.xz
qemu-4802bf910eee98312c4a9777ac2567e6a0445c46.zip
KVM: dirty ring: add missing memory barrier
The KVM_DIRTY_GFN_F_DIRTY flag ensures that the entry is valid. If the read of the fields are not ordered after the read of the flag, QEMU might see stale values. Cc: Gavin Shan <gshan@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/tcg')
0 files changed, 0 insertions, 0 deletions