virtio: add names to virtqueue struct, mapping from devices to queues.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 13 Jun 2009 04:16:35 +0000 (22:16 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Jun 2009 12:46:36 +0000 (22:16 +0930)
commit9499f5e7ed5224c40706f0cec6542a9916bc7606
tree3e4e1b36d3d549ea356e88e6e44359a887c6ee01
parentef688e151c00e5d529703be9a04fd506df8bc54e
virtio: add names to virtqueue struct, mapping from devices to queues.

Add a linked list of all virtqueues for a virtio device: this helps for
debugging and is also needed for upcoming interface change.

Also, add a "name" field for clearer debug messages.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
14 files changed:
drivers/block/virtio_blk.c
drivers/char/hw_random/virtio-rng.c
drivers/char/virtio_console.c
drivers/lguest/lguest_device.c
drivers/net/virtio_net.c
drivers/s390/kvm/kvm_virtio.c
drivers/virtio/virtio.c
drivers/virtio/virtio_balloon.c
drivers/virtio/virtio_pci.c
drivers/virtio/virtio_ring.c
include/linux/virtio.h
include/linux/virtio_config.h
include/linux/virtio_ring.h
net/9p/trans_virtio.c