]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
virtio_pci: free up vq->priv
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Dec 2014 15:50:50 +0000 (17:50 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 19:42:01 +0000 (21:42 +0200)
commit3ec7a77bb3089bb01032fdbd958eb5c29da58b49
treee41d23eedc4d1b7408ca41ada2f7d41390323a2e
parentf913dd4536b10dd26dbda0cd9866e9b0ede9011e
virtio_pci: free up vq->priv

We don't need to go from vq to vq info on
data path, so using direct vq->priv pointer for that
seems like a waste.

Let's build an array of vq infos, then we can use vq->index
for that lookup.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci.c