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

Paolo Bonzini pbonzini at redhat.com
Tue Jul 7 04:13:39 PDT 2015



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



More information about the linux-arm-kernel mailing list