OSDN Git Service

virtio_pci: use priv for vq notification
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Dec 2014 16:01:58 +0000 (18:01 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 19:42:02 +0000 (21:42 +0200)
commitf30eaf4a09482c8dad0f65c616de10a2321839c9
treea2fa0d476f8c7aa0c7d9a53fe1a762b5e88b1b49
parent3ec7a77bb3089bb01032fdbd958eb5c29da58b49
virtio_pci: use priv for vq notification

slightly reduce the amount of pointer chasing this needs to do.
More importantly, this will easily generalize to virtio 1.0.

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