Committed. Thanks. > -----Original Message----- > From: kvm-owner@xxxxxxxxxxxxxxx [mailto:kvm-owner@xxxxxxxxxxxxxxx] On > Behalf Of Vadim Rozenfeld > Sent: Sunday, November 01, 2009 12:41 PM > To: kvm@xxxxxxxxxxxxxxx > Subject: [PATCH] viostor driver.Add memory barrier - synch with fix for > Linux guests by Michael S. Tsirkin <mst@xxxxxxxxxx> > > > repository: /home/vadimr/shares/kvm-guest-drivers-windows > branch: XP > commit 6906acfc2d5f58df43ebc9c190e1447ff6e63a01 > Author: Vadim Rozenfeld<vrozenfe@xxxxxxxxxx> > 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<mst@xxxxxxxxxx> > > Signed-off-by: Vadim Rozenfeld<vrozenfe@xxxxxxxxxx> > > 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html