virtio: hand virtio ring alignment as argument to vring_new_virtqueue
[linux-2.6.git] / drivers / s390 / kvm / kvm_virtio.c
index f5a2dbe..4e8354a 100644 (file)
@@ -193,7 +193,8 @@ static struct virtqueue *kvm_find_vq(struct virtio_device *vdev,
        if (err)
                goto out;
 
-       vq = vring_new_virtqueue(config->num, vdev, (void *) config->address,
+       vq = vring_new_virtqueue(config->num, KVM_S390_VIRTIO_RING_ALIGN,
+                                vdev, (void *) config->address,
                                 kvm_notify, callback);
        if (!vq) {
                err = -ENOMEM;