On Wed, Jun 14, 2017 at 10:29:30AM +0100, Stefan Hajnoczi wrote: > It is hard to analyze trace logs with multiple virtio-blk devices > because none of the trace events include the VirtIODevice *vdev. > > This patch adds vdev so it's clear which device a request is associated > with. > > I considered using VirtIOBlock *s instead but VirtIODevice *vdev is more > general and may be correlated with generic virtio trace events like > virtio_set_status. > > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > hw/block/virtio-blk.c | 12 +++++++----- > hw/block/trace-events | 10 +++++----- > 2 files changed, 12 insertions(+), 10 deletions(-)
Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan
signature.asc
Description: PGP signature