commit | 79758e95d7f018dabd726bf7eb8cdd087692410c | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Oct 26 15:17:15 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Oct 30 08:39:34 2009 -0500 |
tree | 2cf8a7cf6696a35bb3e0f8ad3d9bf8df48894c0b | |
parent | 1e5b9d2fccb205ed8fc84fb38945b8fb3d225640 [diff] |
qemu/virtio: make wmb compiler barrier + comments wmb must be at least a compiler barrier, even without SMP. Further, we likely need some rmb()/mb() as well: I have not audited the code but lguest has mb(), add a comment for now. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>