aboutsummaryrefslogtreecommitdiff
path: root/qemu-barrier.h
AgeCommit message (Collapse)AuthorFilesLines
2010-07-22Introduce proper compiler barrierJan Kiszka1-0/+3
Define barrier() as optimization barrier and replace (potentially unreliable) asm("") fences. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-02-22kvm-all.c: define smp_wmb and use it for coalesced mmioMarcelo Tosatti1-0/+7
Acked-by: "Michael S. Tsirkin" <mst@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>