Commit 36463146 authored by Sheng Yang's avatar Sheng Yang Committed by Avi Kivity

KVM: Get support IRQ routing entry counts

In capability probing ioctl.
Signed-off-by: default avatarSheng Yang <sheng@linux.intel.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent cded19f3
...@@ -1988,7 +1988,7 @@ static long kvm_dev_ioctl_check_extension_generic(long arg) ...@@ -1988,7 +1988,7 @@ static long kvm_dev_ioctl_check_extension_generic(long arg)
return 1; return 1;
#ifdef CONFIG_HAVE_KVM_IRQCHIP #ifdef CONFIG_HAVE_KVM_IRQCHIP
case KVM_CAP_IRQ_ROUTING: case KVM_CAP_IRQ_ROUTING:
return 1; return KVM_MAX_IRQ_ROUTES;
#endif #endif
default: default:
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment