Message ID | 20180622192853.24305-2-apw@canonical.com |
---|---|
State | New |
Headers | show |
Series | [bionic/master-next,1/1] UBUNTU: SAUCE: kvm -- increase KVM_MAX_IRQ_ROUTES to 2048 on x86 | expand |
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 6bdd4b9f6611..68619a7b084c 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -1049,6 +1049,8 @@ static inline int mmu_notifier_retry(struct kvm *kvm, unsigned long mmu_seq) #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
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> --- include/linux/kvm_host.h | 2 ++ 1 file changed, 2 insertions(+)