intel_iommu: cleanup vtd_interrupt_remap_msi()
commite7a3b91fdfa84c9028003b315ca959ea4de30363
authorPeter Xu <peterx@redhat.com>
Fri, 9 Jun 2017 13:53:29 +0000 (9 21:53 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 16 Jun 2017 15:44:56 +0000 (16 18:44 +0300)
tree74085a15ebcea043c4a5abe7735fc2b6c21fd693
parentb9313021f3115e4052966f1975022e4db2df665b
intel_iommu: cleanup vtd_interrupt_remap_msi()

Move the memcpy upper into where needed, then share the trace so that we
trace every correct remapping.

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>
hw/i386/intel_iommu.c