x86-iommu: introduce "intremap" property
commit1121e0afdcfa0cd40e36bd3acff56a3fac4f70fd
authorPeter Xu <peterx@redhat.com>
Thu, 14 Jul 2016 05:56:13 +0000 (14 13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Jul 2016 16:30:27 +0000 (20 19:30 +0300)
tree9774edb4f2cf891559149f86b8c963fbe78d9f37
parent1cf5fd573f536de1eb601ed69127a324e940d37f
x86-iommu: introduce "intremap" property

Adding one property for intel-iommu devices to specify whether we should
support interrupt remapping. By default, IR is disabled. To enable it,
we should use (take Intel IOMMU as example):

  -device intel_iommu,intremap=on

This property can be shared by Intel and future AMD IOMMUs.

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/x86-iommu.c
include/hw/i386/x86-iommu.h