diff options
author | Peter Xu <peterx@redhat.com> | 2018-12-20 13:40:35 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-12-20 13:25:11 -0500 |
commit | b2fc91db84470a78f8e93f5b5f913c17188792c8 (patch) | |
tree | e4f84482762cc844870b8595fc71f6e2f08d1e89 /hw/i386/x86-iommu.c | |
parent | c2077e2ca0da75b6b97e2485a41b8168e2a387c2 (diff) |
q35: set split kernel irqchip as default
Starting from QEMU 4.0, let's specify "split" as the default value for
kernel-irqchip.
So for QEMU>=4.0 we'll have: allowed=Y,required=N,split=Y
for QEMU<=3.1 we'll have: allowed=Y,required=N,split=N
(omitting all the "kernel_irqchip_" prefix)
Note that this will let the default q35 machine type to depend on
Linux version 4.4 or newer because that's where split irqchip is
introduced in kernel. But it's fine since we're boosting supported
Linux version for QEMU 4.0 to around Linux 4.5. For more information
please refer to the discussion on AMD's RDTSCP:
https://lore.kernel.org/lkml/20181210181328.GA762@zn.tnic/
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/x86-iommu.c')
0 files changed, 0 insertions, 0 deletions