From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= Subject: xc_evtchn_status fails with EFAULT on HVM, the same on PV works Date: Fri, 13 Jan 2017 18:31:30 +0100 Message-ID: <20170113173130.GI5268@mail-itl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5383852511161619066==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============5383852511161619066== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="O6iH21V1A1PEFpM6" Content-Disposition: inline --O6iH21V1A1PEFpM6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I have a strange problem - xc_evtchn_status fails when running in HVM, while exactly the same code (same kernel, same application etc) works fine in PV. I've narrowed it down to copy_from_guest call in common/event_channel.c, but no idea why it fails there. Xen version is 4.8.0. kernel is kernel-4.8.13-100.fc23. Any idea? --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --O6iH21V1A1PEFpM6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYeQ7zAAoJENuP0xzK19csE/4H/0uNgUnl8XkNmrWFlLG2UFtV 92LR7yE73VVzPtnmv2ZXyVIwa/a3qcPFxWsMGXnjAMZI6XgJ47iegohzp51nSpJ6 wgnDBDZQfoBxMBjWX89ng5nu+i8+x81nZ7cqVq7z/YkeJdD6KFx1GXjDIO8NBbeS 2yF2E98cpid6j36/kfj/epAOaQIF6jBUxf5betsniv16cEE4yaspr28qMasg7Zm4 277u2ZVp4yBV/Bvn5JCcgkT8UtLtsibQ5jFzvV7MQcwLcR9FPLBHi2SvKlBecoqN w9vc2PA6NzIqjbiDdsp+w+uB2DQC1WZGRh+59/9B/r6Vj/N+fTIz17097k3YdPo= =0fzN -----END PGP SIGNATURE----- --O6iH21V1A1PEFpM6-- --===============5383852511161619066== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============5383852511161619066==--