summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-10-24 00:12:10 +0300
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 12:05:27 +0200
commit946fa5647b529402161814ca8ed1302254b6affb (patch)
treed5cb48d9a5b0fbf9cf313745ff5c222ff304000f /block
parent38f37b578f7d62a827d6f42e21d55bf428f9af8e (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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions