Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH 1/5] virtio-ring: move queue_index to vring_virtqueue | Date | Thu, 06 Sep 2012 09:02:24 +0930 |
| |
Paolo Bonzini <pbonzini@redhat.com> writes:
> From: Jason Wang <jasowang@redhat.com> > > 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>
Sorry for the delay, I was at Kernel Summit and am only now actually reading (vs skimming) my backlog.
Putting it in vring_virtqueue rather than virtqueue seems weird, though. But I've applied as-is, we can clean up that later if we want (probably by merging the two structures, I'll have to think harder on that).
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cheers, Rusty.
| |