[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <877gs8jbav.fsf@rustcorp.com.au>
Date: Thu, 06 Sep 2012 09:02:24 +0930
From: Rusty Russell <rusty@...tcorp.com.au>
To: Paolo Bonzini <pbonzini@...hat.com>, linux-kernel@...r.kernel.org
Cc: linux-scsi@...r.kernel.org, kvm@...r.kernel.org,
jasowang@...hat.com, mst@...hat.com,
virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH 1/5] virtio-ring: move queue_index to vring_virtqueue
Paolo Bonzini <pbonzini@...hat.com> writes:
> From: Jason Wang <jasowang@...hat.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@...hat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@...hat.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@...tcorp.com.au>
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists