From: Sheng Yang Date: Mon, 16 Mar 2009 08:33:43 +0000 (+0800) Subject: KVM: Get support IRQ routing entry counts X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=36463146ffb7eee4582ed785a8c8be213b8ed110;p=linux-2.6-omap-h63xx.git KVM: Get support IRQ routing entry counts In capability probing ioctl. Signed-off-by: Sheng Yang Signed-off-by: Avi Kivity --- diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index c4278975c8c..605697e9c4d 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;