提交 36463146 编写于 作者: S Sheng Yang 提交者: Avi Kivity

KVM: Get support IRQ routing entry counts

In capability probing ioctl.
Signed-off-by: NSheng Yang <sheng@linux.intel.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 cded19f3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册