commit | 3ec7a77bb3089bb01032fdbd958eb5c29da58b49 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Dec 03 17:50:50 2014 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Dec 09 21:42:01 2014 +0200 |
tree | e41d23eedc4d1b7408ca41ada2f7d41390323a2e | |
parent | f913dd4536b10dd26dbda0cd9866e9b0ede9011e [diff] |
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>