block: access quiesce_counter with atomic ops
commit414c2ec3585408a5c7b458664db180e91480bb03
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Jun 2017 12:38:51 +0000 (5 14:38 +0200)
committerFam Zheng <famz@redhat.com>
Thu, 15 Jun 2017 23:55:00 +0000 (16 07:55 +0800)
treeb03c368b9cfec715824ed64ed83e48ee1b68d0b5
parentd3faa13e5ffda779dcd58f39e8745370adb05d67
block: access quiesce_counter with atomic ops

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20170605123908.18777-3-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
block/io.c
include/block/block_int.h