Large KVM instances with a lot of devices may hit the kernel
KVM_MAX_IRQ_ROUTES limit. Up the kernel limit to allow
these configurations to boot. This has no effect on smaller
configurations.
BugLink: http://bugs.launchpad.net/bugs/1778261
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Khalid Elmously <khalid.elmously@canonical.com>
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
#define KVM_MAX_IRQ_ROUTES 4096 //FIXME: we can have more than that...
#elif defined(CONFIG_ARM64)
#define KVM_MAX_IRQ_ROUTES 4096
+#elif defined(CONFIG_X86)
+#define KVM_MAX_IRQ_ROUTES 2048
#else
#define KVM_MAX_IRQ_ROUTES 1024
#endif