]> git.ipfire.org Git - thirdparty/qemu.git/commit
intel-iommu: trace domain id during page walk
authorPeter Xu <peterx@redhat.com>
Fri, 18 May 2018 07:25:15 +0000 (15:25 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 21 Jun 2018 01:45:05 +0000 (20:45 -0500)
commite2c44fc58065c870f5d4e7e2a0f37a359060ec08
treef50e4fb79df543a36a098da5d547032f2fe0becb
parente8aa1dc8166ee652acf8c2101856c072a81ebe63
intel-iommu: trace domain id during page walk

This patch only modifies the trace points.

Previously we were tracing page walk levels.  They are redundant since
we have page mask (size) already.  Now we trace something much more
useful which is the domain ID of the page walking.  That can be very
useful when we trace more than one devices on the same system, so that
we can know which map is for which domain.

CC: QEMU Stable <qemu-stable@nongnu.org>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit d118c06ebbee2d23ddf873cae4a809311aa61310)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/i386/intel_iommu.c
hw/i386/trace-events