commit | 946fa5647b529402161814ca8ed1302254b6affb | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Fri Oct 24 00:12:10 2014 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Dec 09 12:05:27 2014 +0200 |
tree | d5cb48d9a5b0fbf9cf313745ff5c222ff304000f | |
parent | 38f37b578f7d62a827d6f42e21d55bf428f9af8e [diff] |
virtio_net: pass vi around Too many places poke at [rs]q->vq->vdev->priv just to get the vi structure. Let's just pass the pointer around: seems cleaner, and might even be faster. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>