Skip to contentSkip to conversation

KVM: Get support IRQ routing entry counts

PATCH Applied Sheng Yang 2 participants 2 messages Mar 16, 2009 KVM

lore
Share & tools
lore

Sheng Yang

author
#0 lore raw

PATCH 1/1 KVM: Get support IRQ routing entry counts

In capability probing ioctl.

---
 virt/kvm/kvm_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
virt/kvm/kvm_main.c +1 -1
index d480a3b..2648096 100644
@@ -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;
Signature · 1 line
1.5.4.5
Applied
#1 lore raw
Quoted 2 lines · Sheng Yang

In capability probing ioctl.

Applied, thanks. Will queue for 2.6.30 as well.

Signature · 1 line
error compiling committee.c: too many arguments to function