Skip to content

Commit

Permalink
KVM: Get support IRQ routing entry counts
Browse files Browse the repository at this point in the history
In capability probing ioctl.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
  • Loading branch information
Sheng Yang authored and Avi Kivity committed Mar 24, 2009
1 parent cded19f commit 3646314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1988,7 +1988,7 @@ static long kvm_dev_ioctl_check_extension_generic(long arg)
return 1;
#ifdef CONFIG_HAVE_KVM_IRQCHIP
case KVM_CAP_IRQ_ROUTING:
return 1;
return KVM_MAX_IRQ_ROUTES;
#endif
default:
break;
Expand Down

0 comments on commit 3646314

Please sign in to comment.