Received: from eggs.gnu.org ([2001:4830:134:3::10]:40739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5vTr-0002yf-Fb for qemu-devel@nongnu.org; Fri, 19 Jun 2015 08:33:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5vTq-00057Y-Lb for qemu-devel@nongnu.org; Fri, 19 Jun 2015 08:33:11 -0400 Date: Fri, 19 Jun 2015 13:33:02 +0100 From: Stefan Hajnoczi Message-ID: <20150619123302.GK11189@stefanha-thinkpad.redhat.com> References: <1432115859-11413-1-git-send-email-dimara@arrikto.com> <1432115859-11413-6-git-send-email-dimara@arrikto.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tBhgiDt8dP1efIIJ" Content-Disposition: inline In-Reply-To: <1432115859-11413-6-git-send-email-dimara@arrikto.com> Subject: Re: [Qemu-devel] [PATCH v4 5/5] raw-posix: Introduce hdev_is_sg() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dimitris Aragiorgis Cc: kwolf@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org, qemu-block@nongnu.org --tBhgiDt8dP1efIIJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 20, 2015 at 12:57:39PM +0300, Dimitris Aragiorgis wrote: > This is very fragile, e.g. it fails with symlinks or relative paths. This is not true since realpath(3) is used to resolve symlinks and product an absolute path. Is this patch really necessary? --tBhgiDt8dP1efIIJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVhAv+AAoJEJykq7OBq3PIF6AH/1K60hS7VMxvVdEI/vhWOXsO hOahxFl4thP0T7R+H4Sl+T7wJgNp/6GkMlTrNU1WJZXOAgOsc0Rtp2b2E6JtvXFV +5vg+ZGNaPx/CmOd7+QrUgluS6Ij9NKVTtN02k4bF4+x3SiOp8EmKkNiriHnl380 V/kG+61wt9IQn8tVb+2afIoPElOPWLZ00p3lBKIJcR6sOn3KrnDkKYrXj+HcEnz6 fyoLU63K+H71EQfOUbhuiDPO8bQD9fVfRJG6X39yphDTdu8YYKscmbxB4rMWE9NW b9k9ZMCqQ29qwqJ3QfH2eWLWN3Pq11SUnQQfMEn1wx8QGDV7wm6Mu5RTqMyr8gU= =/+HI -----END PGP SIGNATURE----- --tBhgiDt8dP1efIIJ--