Message ID | 1237192423-21890-1-git-send-email-sheng@linux.intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Sheng Yang wrote: > In capability probing ioctl. > Applied, thanks. Will queue for 2.6.30 as well.
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index d480a3b..2648096 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -2274,7 +2274,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;
In capability probing ioctl. Signed-off-by: Sheng Yang <sheng@linux.intel.com> --- virt/kvm/kvm_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)