diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2016-07-14 13:56:34 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-21 20:44:19 +0300 |
commit | a3f409cb4a35d9aa6a4d24a7a1e05423e189cb7a (patch) | |
tree | cfbeab08057aae2bca087f822dd16f2479412720 /hw/i386/intel_iommu_internal.h | |
parent | 3f1fea0fb5bfd78ede2ceae5dae0b24c0380f423 (diff) | |
download | qemu-a3f409cb4a35d9aa6a4d24a7a1e05423e189cb7a.zip qemu-a3f409cb4a35d9aa6a4d24a7a1e05423e189cb7a.tar.gz qemu-a3f409cb4a35d9aa6a4d24a7a1e05423e189cb7a.tar.bz2 |
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>
Diffstat (limited to 'hw/i386/intel_iommu_internal.h')
-rw-r--r-- | hw/i386/intel_iommu_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/intel_iommu_internal.h b/hw/i386/intel_iommu_internal.h index 72b0114..0829a50 100644 --- a/hw/i386/intel_iommu_internal.h +++ b/hw/i386/intel_iommu_internal.h @@ -186,6 +186,7 @@ /* Interrupt Remapping support */ #define VTD_ECAP_IR (1ULL << 3) #define VTD_ECAP_EIM (1ULL << 4) +#define VTD_ECAP_MHMV (15ULL << 20) /* CAP_REG */ /* (offset >> 4) << 24 */ |