diff options
-rw-r--r-- | virt/kvm/kvm_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index c4278975c8ca..605697e9c4dd 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -1988,7 +1988,7 @@ static long kvm_dev_ioctl_check_extension_generic(long arg) | |||
1988 | return 1; | 1988 | return 1; |
1989 | #ifdef CONFIG_HAVE_KVM_IRQCHIP | 1989 | #ifdef CONFIG_HAVE_KVM_IRQCHIP |
1990 | case KVM_CAP_IRQ_ROUTING: | 1990 | case KVM_CAP_IRQ_ROUTING: |
1991 | return 1; | 1991 | return KVM_MAX_IRQ_ROUTES; |
1992 | #endif | 1992 | #endif |
1993 | default: | 1993 | default: |
1994 | break; | 1994 | break; |