Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
s390x: Fix QEMU abort by selecting S390_FLIC_KVM
If QEMU is built with --without-default-devices, the s390-flic-kvm
device is missing and QEMU aborts when started with the KVM accelerator.
Make sure it's available by selecting S390_FLIC_KVM in Kconfig.

Consequently, this also fixes an abort in tests/qtest/migration-test.

Signed-off-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20230711151440.716822-1-clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
  • Loading branch information
legoater authored and huth committed Jul 18, 2023
1 parent 361d539 commit d9458f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion hw/intc/Kconfig
Expand Up @@ -49,7 +49,6 @@ config S390_FLIC

config S390_FLIC_KVM
bool
default y
depends on S390_FLIC && KVM

config OMPIC
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/Kconfig
Expand Up @@ -8,6 +8,7 @@ config S390_CCW_VIRTIO
imply PCIE_DEVICES
select PCI_EXPRESS
select S390_FLIC
select S390_FLIC_KVM if KVM
select SCLPCONSOLE
select VIRTIO_CCW
select MSI_NONBROKEN

0 comments on commit d9458f9

Please sign in to comment.