OSDN Git Service

intel_iommu: convert dbg macros to traces for inv
authorPeter Xu <peterx@redhat.com>
Tue, 7 Feb 2017 08:28:09 +0000 (16:28 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 17 Feb 2017 19:52:31 +0000 (21:52 +0200)
commitbc535e59c4ec7d98a8011a3ffb6580fa04b7745c
tree80a7cb56b451634a1add48f77f1dc3201ed53173
parent6e9055641b7a02131a7879369bcd1fe6c8ccb503
intel_iommu: convert dbg macros to traces for inv

VT-d codes are still using static DEBUG_INTEL_IOMMU macro. That's not
good, and we should end the day when we need to recompile the code
before getting useful debugging information for vt-d. Time to switch to
the trace system. This is the first patch to do it.

Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/intel_iommu.c
hw/i386/trace-events