History | View | Annotate | Download (978 Bytes)
qemu-barrier: Fix build failure on PowerPC Mac OS X
qemu-barrier.h tests if macro powerpc is defined, however, thepreprocessor on PowerPC Mac OS X defines only POWERPC, notpowerpc. Resolve by testing instead for qemu-provided _ARCH_PPC.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>...
Barriers in qemu-barrier.h should not be x86 specific
qemu-barrier.h contains a few macros implementing memory barrierprimitives used in several places throughout qemu. However, apartfrom the compiler-only barrier, the defined wmb() is correct only for...
Introduce proper compiler barrier
Define barrier() as optimization barrier and replace (potentiallyunreliable) 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>...
kvm-all.c: define smp_wmb and use it for coalesced mmio
Acked-by: "Michael S. Tsirkin" <mst@redhat.com>Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>Signed-off-by: Avi Kivity <avi@redhat.com>