diff options
author | David Woodhouse | 2022-03-14 15:25:44 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2022-05-16 10:38:40 +0200 |
commit | 77250171bdc02aee106083fd2a068147befa1a38 (patch) | |
tree | a8e733d38677bf5cc3e41b9463383a65a61be1b6 /gitdm.config | |
parent | intel_iommu: Only allow interrupt remapping to be enabled if it's supported (diff) | |
download | qemu-77250171bdc02aee106083fd2a068147befa1a38.tar.gz qemu-77250171bdc02aee106083fd2a068147befa1a38.tar.xz qemu-77250171bdc02aee106083fd2a068147befa1a38.zip |
intel_iommu: Fix irqchip / X2APIC configuration checks
We don't need to check kvm_enable_x2apic(). It's perfectly OK to support
interrupt remapping even if we can't address CPUs above 254. Kind of
pointless, but still functional.
The check on kvm_enable_x2apic() needs to happen *anyway* in order to
allow CPUs above 254 even without an IOMMU, so allow that to happen
elsewhere.
However, we do require the *split* irqchip in order to rewrite I/OAPIC
destinations. So fix that check while we're here.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Claudio Fontana <cfontana@suse.de>
Message-Id: <20220314142544.150555-4-dwmw2@infradead.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'gitdm.config')
0 files changed, 0 insertions, 0 deletions