Committed. Thanks.
> -----Original Message----- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Vadim Rozenfeld > Sent: Sunday, November 01, 2009 12:41 PM > To: kvm@vger.kernel.org > Subject: [PATCH] viostor driver.Add memory barrier - synch with fix for > Linux guests by Michael S. Tsirkin <m...@redhat.com> > > > repository: /home/vadimr/shares/kvm-guest-drivers-windows > branch: XP > commit 6906acfc2d5f58df43ebc9c190e1447ff6e63a01 > Author: Vadim Rozenfeld<vroze...@redhat.com> > Date: Sun Nov 1 11:54:03 2009 +0200 > > [PATCH] viostor driver.Add memory read barrier - synch with fix > for Linux guests by Michael S. Tsirkin<m...@redhat.com> > > Signed-off-by: Vadim Rozenfeld<vroze...@redhat.com> > > diff --git a/viostor/virtio_ring.c b/viostor/virtio_ring.c index > d099bb8..2911cef 100644 > --- a/viostor/virtio_ring.c > +++ b/viostor/virtio_ring.c > @@ -237,6 +237,8 @@ vring_get_buf( > return NULL; > } > > + rmb(); > + > i = vq->vring.used->ring[vq->last_used_idx%vq->vring.num].id; > *len = vq->vring.used->ring[vq->last_used_idx%vq->vring.num].len; > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html