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 kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html