Re: [RFC v2 3/6] irq: bypass: Extend skeleton for ARM forwarding control

From: Paolo Bonzini
Date: Tue Jul 07 2015 - 07:14:00 EST




On 07/07/2015 13:13, Wu, Feng wrote:
>> > You can use container_of to add it to your own struct, e.g.
>> >
>> > struct irq_bypass_consumer cons;
>> > struct irq_bypass_producer *prod;
> Do you mean this:
>
> struct kvm_kernel_irqfd {
>
> ......
>
> struct irq_bypass_consumer cons;
> struct irq_bypass_producer *prod;
> };

Yes.

Paolo
--
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/