commit | 36463146ffb7eee4582ed785a8c8be213b8ed110 | [log] [tgz] |
---|---|---|
author | Sheng Yang <sheng@linux.intel.com> | Mon Mar 16 16:33:43 2009 +0800 |
committer | Avi Kivity <avi@redhat.com> | Tue Mar 24 11:03:14 2009 +0200 |
tree | 146ebf594bb2652f529f3fbc8d61fa857e8df133 | |
parent | cded19f396bc3c9d299331709d0a9fbc6ecc148a [diff] [blame] |
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>
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index c427897..605697e 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c
@@ -1988,7 +1988,7 @@ return 1; #ifdef CONFIG_HAVE_KVM_IRQCHIP case KVM_CAP_IRQ_ROUTING: - return 1; + return KVM_MAX_IRQ_ROUTES; #endif default: break;