On Wed, Nov 11, 2009 at 01:34:12AM +0000, Paul Brook wrote: > On Monday 26 October 2009, Michael S. Tsirkin wrote: > > wmb must be at least a compiler barrier, even without SMP. > > Why?
Because virtio code might run on a separate thread from guest. If compiler reorders writes, guest might see inconsistent data. -- MST