intel_iommu: allow Extended Interrupt Mode when using userspace APIC
commit2cf16205290bdb6d92bade3590adec6e08fd26c9
authorBui Quang Minh <minhquangbui99@gmail.com>
Thu, 11 Jan 2024 15:44:01 +0000 (11 22:44 +0700)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 14 Feb 2024 11:09:32 +0000 (14 06:09 -0500)
treedb48c59250c8f71196c0d29819f3ae89b144f32d
parent774204cf9874e58dc7fc13394a505452357750ad
intel_iommu: allow Extended Interrupt Mode when using userspace APIC

As userspace APIC now supports x2APIC, intel interrupt remapping
hardware can be set to EIM mode when userspace local APIC is used.

Suggested-by: Joao Martins <joao.m.martins@oracle.com>
Acked-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
Message-Id: <20240111154404.5333-5-minhquangbui99@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/intel_iommu.c