Revision 85199474 kvm-all.c
b/kvm-all.c | ||
---|---|---|
21 | 21 |
#include <linux/kvm.h> |
22 | 22 |
|
23 | 23 |
#include "qemu-common.h" |
24 |
#include "qemu-barrier.h" |
|
24 | 25 |
#include "sysemu.h" |
25 | 26 |
#include "hw/hw.h" |
26 | 27 |
#include "gdbstub.h" |
... | ... | |
730 | 731 |
ent = &ring->coalesced_mmio[ring->first]; |
731 | 732 |
|
732 | 733 |
cpu_physical_memory_write(ent->phys_addr, ent->data, ent->len); |
733 |
/* FIXME smp_wmb() */
|
|
734 |
smp_wmb();
|
|
734 | 735 |
ring->first = (ring->first + 1) % KVM_COALESCED_MMIO_MAX; |
735 | 736 |
} |
736 | 737 |
} |
Also available in: Unified diff