[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/5] intel_iommu: turn on IR by default
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 5/5] intel_iommu: turn on IR by default |
Date: |
Tue, 18 Dec 2018 13:30:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 18/12/18 04:07, Peter Xu wrote:
> On Mon, Dec 17, 2018 at 03:31:14PM +0800, Peter Xu wrote:
>> IR has been there for a long time and long time no bug reported.
>> Let's turn it on by default to match general hardwares. Providing
>> compatibility bit for QEMU<=3.1.
>>
>> Signed-off-by: Peter Xu <address@hidden>
> I forgot that IR will depend on split kernel irqchip and by default
> that's still "on" so "-M q35 -device intel-iommu" may not be able to
> boot correctly with all the default values and instead QEMU will ask
> user to turn on split irqchip.
>
> Paolo/Michael, do you think it would make any sense to turn the
> default kernel-irqchip machine parameter to split starting from qemu
> 4.0? Since AFAIU it should have little degradation to performance but
> at the same time it reduces kvm attack serface, which seems good.
The main problem with that would be the minimal required kernel version,
which is 4.4 for split irqchip. But, we're already planning to make it
4.5 so it's not an issue. Go for it. :)
Paolo
- [Qemu-devel] [PATCH 0/5] intel_iommu: fix windows svvp verification, and trivial cleanups, Peter Xu, 2018/12/17
- [Qemu-devel] [PATCH 4/5] intel_iommu: remove "x-" prefix for "aw-bits", Peter Xu, 2018/12/17
- [Qemu-devel] [PATCH 3/5] intel_iommu: dma read/write draining support, Peter Xu, 2018/12/17
- [Qemu-devel] [PATCH 1/5] intel_iommu: dump correct iova when failed, Peter Xu, 2018/12/17
- [Qemu-devel] [PATCH 2/5] intel_iommu: convert invalid traces into error reports, Peter Xu, 2018/12/17