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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/