intel_iommu: add SID validation for IR
authorPeter Xu <peterx@redhat.com>
Thu, 14 Jul 2016 05:56:29 +0000 (13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Jul 2016 17:44:16 +0000 (20:44 +0300)
commitede9c94acf6cd1968de4188c0228b714ab871a86
treeb7c3e115de240c7529dc58c064d3fcb199261d62
parent28589311b326398e88bf6804db8575a6da426b39
intel_iommu: add SID validation for IR

This patch enables SID validation. Invalid interrupts will be dropped.

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