From: Jason Wang Date: Tue, 28 Aug 2012 11:54:13 +0000 (+0200) Subject: virtio-ring: move queue_index to vring_virtqueue X-Git-Tag: omap-for-v3.7-rc1/fixes-hwmod-clock-signed-v3~5^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17bb6d40880d4178f5f8a75900ed8c9ff47d3fb2;p=pandora-kernel.git 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 Signed-off-by: Paolo Bonzini Signed-off-by: Rusty Russell --- Reading git-diff-tree failed