When trying out of QBL, we badly require more fine defined barrier and atomic ops, so I repost Paolo's atomic patch which fetched github.com/bonzini/qemu.git rcu (thanks Paolo, with your urcu patches, things go more easily)
v1->v2: more fine document introduce another wmb for qemu_bh_schedule and correspoing rmb Liu Ping Fan (1): QEMUBH: make AioContext's bh re-entrant Paolo Bonzini (1): add a header file for atomic operations async.c | 21 ++++ docs/atomics.txt | 322 +++++++++++++++++++++++++++++++++++++++++++++++ hw/display/qxl.c | 3 +- hw/virtio/vhost.c | 9 +- include/block/aio.h | 3 + include/qemu/atomic.h | 223 +++++++++++++++++++++++++++----- migration.c | 3 +- tests/test-thread-pool.c | 8 +- 8 files changed, 548 insertions(+), 44 deletions(-) create mode 100644 docs/atomics.txt -- 1.8.1.4