]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: assume QEMU_CAPS_MACHINE_KERNEL_IRQCHIP
authorJán Tomko <jtomko@redhat.com>
Fri, 24 Sep 2021 15:07:06 +0000 (17:07 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 27 Sep 2021 08:11:21 +0000 (10:11 +0200)
Even though we only allow this option on x86,
all QEMUs report the command line option.

Added in QEMU v1.1:
6a48ffaaa7 "kvm: Activate in-kernel irqchip support"

Remove the pointless capability.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_validate.c

index 13fbfd01b21daaaabdcd561cb278bc8bf0d60d32..7e4090181dd9a0fd15d45311b9c6d6b74b9fc51c 100644 (file)
@@ -195,13 +195,6 @@ qemuValidateDomainDefFeatures(const virDomainDef *def,
                                    def->os.machine);
                     return -1;
                 }
-
-                if (!virQEMUCapsGet(qemuCaps, QEMU_CAPS_MACHINE_KERNEL_IRQCHIP)) {
-                    virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                                   _("I/O APIC tuning is not supported by "
-                                     "this QEMU binary"));
-                    return -1;
-                }
             }
             break;