diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-10-16 15:26:14 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-12-18 05:50:31 +0100 |
commit | 06ca287dbac9cc19d04ac2901b8c4882c03795ff (patch) | |
tree | 37574b40e4b18070fe92e88f722035159aa341fb /security | |
parent | virtio-pci: use module_pci_driver to simplify the code (diff) | |
download | linux-06ca287dbac9cc19d04ac2901b8c4882c03795ff.tar.xz linux-06ca287dbac9cc19d04ac2901b8c4882c03795ff.zip |
virtio: move queue_index and num_free fields into core struct virtqueue.
They're generic concepts, so hoist them. This also avoids accessor
functions (though kept around for merge with DaveM's net tree).
This goes even further than Jason Wang's 17bb6d4088 patch
("virtio-ring: move queue_index to vring_virtqueue") which moved the
queue_index from the specific transport.
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions