virtio/s390: use vring_create_virtqueue
authorHalil Pasic <pasic@linux.ibm.com>
Fri, 26 Apr 2019 18:32:36 +0000 (20:32 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 12 May 2019 17:11:36 +0000 (13:11 -0400)
commit3279beac545190ed252cd3df0eb41056537463df
tree96181a0eacac78c1f6b6e4fc686ff252771056b2
parenta5581206c565a7f1113a84232f734e7135b90a61
virtio/s390: use vring_create_virtqueue

The commit 2a2d1382fe9d ("virtio: Add improved queue allocation API")
establishes a new way of allocating virtqueues (as a part of the effort
that taught DMA to virtio rings).

In the future we will want virtio-ccw to use the DMA API as well.

Let us switch from the legacy method of allocating virtqueues to
vring_create_virtqueue() as the first step into that direction.

Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
drivers/s390/virtio/virtio_ccw.c