]> www.infradead.org Git - users/dwmw2/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>
Wed, 11 Jul 2018 16:48:19 +0000 (11:48 -0500)
commitd5c60a950ab3abe25ca60f30f010cb16dcdd4435
treefd6e3314ae97d8c8f7dba320c371e4a8ff6640cf
parent78b85a98a387a57df522b5b06e5aa5e2e19cf6c2
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