[libvirt PATCH 1/4] qemu: assume QEMU_CAPS_MACHINE_KERNEL_IRQCHIP

Ján Tomko jtomko at redhat.com
Fri Sep 24 15:30:23 UTC 2021


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 at redhat.com>
---
 src/qemu/qemu_validate.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/qemu/qemu_validate.c b/src/qemu/qemu_validate.c
index 13fbfd01b2..7e4090181d 100644
--- a/src/qemu/qemu_validate.c
+++ b/src/qemu/qemu_validate.c
@@ -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;
 
-- 
2.31.1




More information about the libvir-list mailing list