Re: [PATCH v9 1/2] kvm: Use a reserved IRQ source ID for irqfd

From: Avi Kivity
Date: Wed Sep 05 2012 - 10:46:16 EST


On 08/21/2012 10:29 PM, Alex Williamson wrote:
> KVM_IRQFD currently uses the reserved KVM_USERSPACE_IRQ_SOURCE_ID
> which is also shared with userspace injection methods like
> KVM_IRQ_LINE. This can cause a conflict if an irqfd triggers on
> a GSI asserted through KVM_IRQ_LINE. Move irqfd to it's own
> reserved IRQ source ID. Add a capability for userspace to test
> for this fix.

I don't think we need a cap, rather a backport if we identify real cases
where an edge gsi is shared among several devices. Otherwise it is just
a theoretical bug before level irqfd is introduced.

--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/