[PATCH] virtio-blk: Add stats VQ to collect information about devices

Avi Kivity
2011-08-17T23:00:42Z

On 08/16/2011 12:47 PM, Sasha Levin wrote:
> This patch adds support for an optional stats vq that works similary to the
> stats vq provided by virtio-balloon.
>
> The purpose of this change is to allow collection of statistics about
working
> virtio-blk devices to easily analyze performance without having to tap into
> the guest.
>
>

Why can't you get the same info from the host?  i.e. read sectors?

Patches to virtio drivers should be preceded by specification updates so
that guest driver authors and alternative userspace developers have a
solid reference.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.