projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cded19f
)
KVM: Get support IRQ routing entry counts
author
Sheng Yang
<sheng@linux.intel.com>
Mon, 16 Mar 2009 08:33:43 +0000
(16:33 +0800)
committer
Avi Kivity
<avi@redhat.com>
Tue, 24 Mar 2009 09:03:14 +0000
(11:03 +0200)
In capability probing ioctl.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c
patch
|
blob
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index c4278975c8ca723ad6ea34a9bcaf7666ca1cfd3c..605697e9c4dd50570b04cba68d80219450055828 100644
(file)
--- 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;