diff options
author | Jason Wang <jasowang@redhat.com> | 2012-08-28 13:54:13 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-09-28 15:05:15 +0930 |
commit | 17bb6d40880d4178f5f8a75900ed8c9ff47d3fb2 (patch) | |
tree | f9888385b33c144f909eff14713a328dc72296f2 /drivers/input | |
parent | 7a23eb28fa645f1f0c2ec38274c11bc78c50c047 (diff) | |
download | linux-3.10-17bb6d40880d4178f5f8a75900ed8c9ff47d3fb2.tar.gz linux-3.10-17bb6d40880d4178f5f8a75900ed8c9ff47d3fb2.tar.bz2 linux-3.10-17bb6d40880d4178f5f8a75900ed8c9ff47d3fb2.zip |
virtio-ring: move queue_index to vring_virtqueue
Instead of storing the queue index in transport-specific virtio structs,
this patch moves them to vring_virtqueue and introduces an helper to get
the value. This lets drivers simplify their management and tracing of
virtqueues.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions