summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2009-03-16 09:33:43 +0100
committerAvi Kivity <avi@redhat.com>2009-03-24 10:03:14 +0100
commit36463146ffb7eee4582ed785a8c8be213b8ed110 (patch)
tree146ebf594bb2652f529f3fbc8d61fa857e8df133 /virt/kvm
parentKVM: fix sparse warnings: Should it be static? (diff)
downloadlinux-36463146ffb7eee4582ed785a8c8be213b8ed110.tar.xz
linux-36463146ffb7eee4582ed785a8c8be213b8ed110.zip
KVM: Get support IRQ routing entry counts
In capability probing ioctl. Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm')
-rw-r--r--virt/kvm/kvm_main.c2
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)
return 1;
#ifdef CONFIG_HAVE_KVM_IRQCHIP
case KVM_CAP_IRQ_ROUTING:
- return 1;
+ return KVM_MAX_IRQ_ROUTES;
#endif
default:
break;