commit | 06ca287dbac9cc19d04ac2901b8c4882c03795ff | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue Oct 16 23:56:14 2012 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Dec 18 15:20:31 2012 +1030 |
tree | 37574b40e4b18070fe92e88f722035159aa341fb | |
parent | 1ce6853aa0f8e1cc3ae811a85d50cde6ad0ef735 [diff] |
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>