]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
s390x: Fix QEMU abort by selecting S390_FLIC_KVM
authorCédric Le Goater <clg@redhat.com>
Tue, 11 Jul 2023 15:14:40 +0000 (17:14 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 18 Jul 2023 07:36:27 +0000 (09:36 +0200)
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>
hw/intc/Kconfig
hw/s390x/Kconfig

index 21441d0a0c4389e509511c11e0b115ee09bfd8b1..97d550b06b77d16d08410183af798c50a1535bb0 100644 (file)
@@ -49,7 +49,6 @@ config S390_FLIC
 
 config S390_FLIC_KVM
     bool
-    default y
     depends on S390_FLIC && KVM
 
 config OMPIC
index e8d4d68ece0bdccf1cd1f37a2e8a648625879253..4c068d7960b973474b84d3cef9d4a3bf31ca4f9f 100644 (file)
@@ -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