From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=pass (2048-bit key; secure) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202408 header.b=NX/1dCBV; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 9578D5A026E for ; Wed, 04 Sep 2024 04:25:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202408; t=1725416717; bh=h25JQaY//hjICC657Fyvy9MrmWvplo4LA5b14LOQUdE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NX/1dCBVb8qkYJzesV6LJtKesxFOO+nQtzaUx1Mp4uLa9uGhOWd2bdaOSw18coHhL zAvK1ht37w/pcujdzYIUemGdaGiEJT7QUWaxWjlJnlPtdG8ltMrjUJfnV+ngkvVJwx rm77eRA2SbNolomwQI4+6aidot81pCNXs0YMqW931gh/e045rUYg54Q4K4TSbLpM6F Yh1jP0DH2PqPzGra32qWliq0d8AsBPyzu7KH1hYSVIOlCpe9zj1WuuxQUAVCT5OG6o Cepok2Lp68fMuZL7mg4YE9IDbK+ikyAIAHerNrIshuMdQJKDmv97yW+8y/JrsTV7hO y0dlt/g5eTxSg== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4Wz5tj1s8yz4xCV; Wed, 4 Sep 2024 12:25:17 +1000 (AEST) Date: Wed, 4 Sep 2024 11:17:33 +1000 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH 1/6] tap: Split out handling of EPOLLIN events Message-ID: References: <20240903120235.1688429-1-david@gibson.dropbear.id.au> <20240903120235.1688429-2-david@gibson.dropbear.id.au> <20240903212535.5c66fb90@elisabeth> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lU43DlQE3gB1bv5e" Content-Disposition: inline In-Reply-To: <20240903212535.5c66fb90@elisabeth> Message-ID-Hash: DGBXJJHUADZTIK22MAAHOOVWAMM33T5W X-Message-ID-Hash: DGBXJJHUADZTIK22MAAHOOVWAMM33T5W X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --lU43DlQE3gB1bv5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 03, 2024 at 09:25:35PM +0200, Stefano Brivio wrote: > On Tue, 3 Sep 2024 22:02:30 +1000 > David Gibson wrote: >=20 > > Currently, tap_handler_pas{st,ta}() check for EPOLLRDHUP, EPOLLHUP and > > EPOLLERR events, then assume anything left is EPOLLIN. We have some fu= ture > > cases that may want to also handle EPOLLOUT, so in preparation explicit= ly > > handle EPOLLIN, moving the logic to a subfunction. > >=20 > > Signed-off-by: David Gibson [snip] > > +/** > > + * tap_passt_input() - Handler for new data on the socket to qemu >=20 > tap_pasta_input(), QEMU (we could just call it hypervisor, given that > libkrun/krun also use this path). Updated. --=20 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 --lU43DlQE3gB1bv5e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmbXtR8ACgkQzQJF27ox 2GcEtw//SftzKdwG0clHxmiBr8qTyWFeLHPXVBE2y7iFKQgm3saTkgeH/jKFTEEz qRdkM4Uvb8Tk1F2LO3i+c2zptgXoCBv82SPcQC6uGmibzNb25f+MNN2GXgDn6VMC 3JKMSQWNgBrELRO809fv/7hNDSBJ5rua2/cc9e8o01IC0WRsNeK/IyPZUYdt4Cyn hQ604T2Wfc8eqiTSJbpWx1J6JHLbeQJ4NIe4tH7UqMWhgr4u8zHz8VPpcazO/t8t r1gu/6jPiWIZa3cIgt/gonu/G+NivdJMV1Na/Oawz/fzwcO6znwclnblXyju0eTC mSdO+AQWehiqjb45OXySZ9g0uPNrWyJVrIhhDhxKfVO2ALvvpXtFLX1wNRzna70B 4lL7DzSy/It5IcbXvUt4XvBOWE8fZRIWn3TnjADtcgwUCuGTaOOVXR6t1BdY2t1H xaFsWq5VCKqvs7Y8nd+I+eADIrh/Li5h81dwSkTfJUAgQ5M4ijzGaILW9EIKqjyS lz7nr1w83lZYN9lYaaTN7nuFQqPSckTZ8aZoC1M4fGXX2st7fIrbfojur7kC0Rje FCLi4+20q6FXWkDZsjVGTC4gkuT/b5gZVk/rLFs7kOoJCnpIfHy1K6gwEt9ghvd0 vVoGwtHKhihosPmgKF3VdpEA4GjA8Zve6BZqYmgluET6rOIyyeA= =2Ox6 -----END PGP SIGNATURE----- --lU43DlQE3gB1bv5e--