On Tue, Sep 03, 2024 at 09:25:35PM +0200, Stefano Brivio wrote:On Tue, 3 Sep 2024 22:02:30 +1000 David Gibson <david(a)gibson.dropbear.id.au> wrote: > Currently, tap_handler_pas{st,ta}() check for EPOLLRDHUP, EPOLLHUP and > EPOLLERR events, then assume anything left is EPOLLIN. We have some future > cases that may want to also handle EPOLLOUT, so in preparation explicitly > handle EPOLLIN, moving the logic to a subfunction. > > Signed-off-by: David Gibson <david(a)gibson.dropbear.id.au>[snip]Updated. -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson+/** + * tap_passt_input() - Handler for new data on the socket to qemutap_pasta_input(), QEMU (we could just call it hypervisor, given that libkrun/krun also use this path).