Re: [Qemu-devel] [PATCH] virtio-blk: trace vdev so devices can be distinguished

2017-06-15 Thread Fam Zheng
On Wed, 06/14 10:29, 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

[Qemu-devel] [PATCH] virtio-blk: trace vdev so devices can be distinguished

2017-06-14 Thread Stefan Hajnoczi
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