From: Steven Smith Subject: Re: Experience with netchannel2 Date: Mon, 6 Jul 2009 11:33:56 +0100 Message-ID: <20090706103356.GA6123@weybridge.uk.xensource.com> References: <20090630115331.GA8688@weybridge.uk.xensource.com> <4A4B3438.10206@gmail.com> <20090701160743.GA16252@weybridge.uk.xensource.com> <4A4CC72C.7000302@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1317966002==" Return-path: In-Reply-To: <4A4CC72C.7000302@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sergey Tovpeko Cc: Steven Smith , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1317966002== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Thank you very much for your efforts and fixes. > Please, consider some minor changes in gnttab_request_version > I added the return code to it., because HYPERVISOR_grant_table_op could= =20 > return -EFAULT, -EINVAL additional to -ENOSYS. > I attached the file. Hmm. I'm not convinced by this, for a couple of reasons: a) HYPERVISOR_grant_table_op(GNTTABOP_set_version) won't return -EFAULT or -EINVAL for this particular call, because the parameters to the call are correct. b) Even if it did, the current behaviour (of just assuming version 1) is pretty reasonable. c) If gnttab_resume() fails then there isn't really anything which the rest of the kernel can do to recover, so the guest will almost certainly just crash a few instructions later. So I think I'm going to pass on this one. Thanks, Steven. --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFKUdMUvAgSWYI3DVMRAvr9AJ9bgH4Du3BHQjV3/OSCc2HwM0w3LQCePaJv 73Q5T/ZGE7mj3rjz52sLVnA= =BVj3 -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx-- --===============1317966002== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1317966002==--