Statistics
| Branch: | Revision:

root / include / qemu / atomic.h @ feature-archipelago

History | View | Annotate | Download (6.6 kB)

# Date Author Comment
33effd3a 11/21/2013 06:01 pm Peter Maydell

atomic.h: Fix build with clang

clang defines ATOMIC_SEQ_CST but its implementation of the
_atomic_exchange() builtin differs from that of gcc. Move the
_clang
branch of the ifdef ladder to the top and fix its
implementation (there is no such builtin as __sync_exchange),...

5444e768 07/04/2013 06:42 pm Paolo Bonzini

add a header file for atomic operations

We're already using them in several places, but __sync builtins are just
too ugly to type, and do not provide seqcst load/store operations.

Reviewed-by: Richard Henderson <>
Signed-off-by: Paolo Bonzini <>

52e850de 03/11/2013 02:32 pm Paolo Bonzini

block-migration: add lock

Some state is shared between the block migration code and its AIO
callbacks. Once block migration will run outside the iothread,
the block migration code and the AIO callbacks will be able to
run concurrently. Protect the critical sections with a separate...

1de7afc9 12/19/2012 09:32 am Paolo Bonzini

misc: move include files to include/qemu/

Signed-off-by: Paolo Bonzini <>