intel_iommu: support all masks in interrupt entry cache invalidation
commita3f409cb4a35d9aa6a4d24a7a1e05423e189cb7a
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 14 Jul 2016 05:56:34 +0000 (14 13:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 21 Jul 2016 17:44:19 +0000 (21 20:44 +0300)
treecfbeab08057aae2bca087f822dd16f2479412720
parent3f1fea0fb5bfd78ede2ceae5dae0b24c0380f423
intel_iommu: support all masks in interrupt entry cache invalidation

Linux guests do not gracefully handle cases when the invalidation mask
they wanted is not supported, probably because real hardware always
allowed all.

We can just say that all 16 masks are supported, because both
ioapic_iec_notifier and kvm_update_msi_routes_all invalidate all caches.

Signed-off-by: Radim Krčmář <rkrcmar@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