aboutsummaryrefslogtreecommitdiff
path: root/qemu-io.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2015-08-23 20:23:36 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2015-09-07 18:12:39 +0200
commitd12f7309483e20d1bae9304f4b812bf53a8e6510 (patch)
treedcf0514e8f089dd8a0d610688f5e1e2435e8a6a9 /qemu-io.c
parent123fdbac9b8f1e394fbe92e8b5359193e94ba5bf (diff)
downloadqemu-d12f7309483e20d1bae9304f4b812bf53a8e6510.zip
qemu-d12f7309483e20d1bae9304f4b812bf53a8e6510.tar.gz
qemu-d12f7309483e20d1bae9304f4b812bf53a8e6510.tar.bz2
seqlock: read sequence number atomically
With this change we make sure that the compiler will not optimise the read of the sequence number in any way. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1440375847-17603-8-git-send-email-cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions