summaryrefslogtreecommitdiffstats
path: root/qemu-barrier.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce proper compiler barrierJan Kiszka2010-07-221-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>
* kvm-all.c: define smp_wmb and use it for coalesced mmioMarcelo Tosatti2010-02-221-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>
OpenPOWER on IntegriCloud