]> git.proxmox.com Git - mirror_qemu.git/commit
intel_iommu: define interrupt remap table addr register
authorPeter Xu <peterx@redhat.com>
Thu, 14 Jul 2016 05:56:18 +0000 (13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 20 Jul 2016 16:30:27 +0000 (19:30 +0300)
commita58614391d52ef8240071c1db5db6aceaf66a3ea
tree0ff747faef350b3345a596ed7fe2c7578676602f
parentcfc13df4621ccc72e21b670cec8f03f91d9d6dcf
intel_iommu: define interrupt remap table addr register

Defined Interrupt Remap Table Address register to store IR table
pointer. Also, do proper handling on global command register writes to
store table pointer and its size.

One more debug flag "DEBUG_IR" is added for interrupt 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
hw/i386/intel_iommu_internal.h
include/hw/i386/intel_iommu.h