kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Coupling between KVM_IRQFD and KVM_SET_GSI_ROUTING?
@ 2014-06-17 11:39 Eric Auger
  2014-06-19 14:02 ` Eric Auger
  2014-06-23 16:47 ` Alexander Graf
  0 siblings, 2 replies; 8+ messages in thread
From: Eric Auger @ 2014-06-17 11:39 UTC (permalink / raw)
  To: Alexander Graf, Antonios Motakis, kvmarm@lists.cs.columbia.edu,
	Marc Zyngier, kvm@vger.kernel.org, Christoffer Dall

Hello,

I have a question related to KVM_IRQFD and KVM_SET_GSI_ROUTING ioctl
relationship.

When reading the KVM API documentation I do not understand there is any
dependency between KVM_IRQFD and KVM_SET_GSI_ROUTING. According to the
text it seems only the gsi field is used and interpreted as the irqchip pin.

However irqchip.c kvm_set_irq code relies on an existing and not dummy
routing table.

My question is: does anyone agree on the fact the user-side must set a
consistent routing table using KVM_SET_GSI_ROUTING before using
KVM_IRQFD? The other alternative would have been to build a default
identity GSI routing table in the kernel (gsi = irqchip.pin).

In the positive, shouldn't we clarify the KVM API documentation?

Thank you in advance

Best Regards

Eric

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-06-24 16:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 11:39 Coupling between KVM_IRQFD and KVM_SET_GSI_ROUTING? Eric Auger
2014-06-19 14:02 ` Eric Auger
2014-06-23 16:47 ` Alexander Graf
2014-06-24  9:47   ` Paul Mackerras
2014-06-24 10:40     ` Alexander Graf
2014-06-24 15:05       ` Eric Auger
2014-06-24 15:47         ` Alexander Graf
2014-06-24 16:11           ` Eric Auger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).