From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoxzk-0007NT-A0 for qemu-devel@nongnu.org; Wed, 21 Oct 2015 14:20:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zoxzh-0005y4-4E for qemu-devel@nongnu.org; Wed, 21 Oct 2015 14:20:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoxzg-0005xu-V1 for qemu-devel@nongnu.org; Wed, 21 Oct 2015 14:20:13 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 7DFD7373F2C for ; Wed, 21 Oct 2015 18:20:11 +0000 (UTC) References: <1444648509-29179-1-git-send-email-berrange@redhat.com> <1444648509-29179-9-git-send-email-berrange@redhat.com> <56267E53.1050708@redhat.com> <20151021173216.GA25743@redhat.com> From: Eric Blake Message-ID: <5627D755.2000505@redhat.com> Date: Wed, 21 Oct 2015 12:20:05 -0600 MIME-Version: 1.0 In-Reply-To: <20151021173216.GA25743@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FnIBl7BKHmqKruUnnSmpBosiomiQAWgMX" Subject: Re: [Qemu-devel] [PATCH v2 08/16] io: add abstract QIOChannel classes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Paolo Bonzini , qemu-devel@nongnu.org, "Dr. David Alan Gilbert" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FnIBl7BKHmqKruUnnSmpBosiomiQAWgMX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/21/2015 11:32 AM, Daniel P. Berrange wrote: >=20 >>> +/** >>> + * qio_channel_seek: >>> + * @ioc: the channel object >>> + * @offset: the position to seek to, relative to @whence >>> + * @whence: one of the POSIX SEEK_* constants >> >> Including SEEK_HOLE/SEEK_DATA? >=20 > Are those actually POSIX, or Linux extensions ? In any case, > only SEEK_SET, SEEK_CUR and SEEK_END are intended for use. > I'll clarify the docs. SEEK_HOLE/DATA are not quite POSIX yet, although the next version of POSIX (Issue 8) will have them [1]. But they are definitely more than just Linux extensions (Solaris implemented them first, after all). [1] http://austingroupbugs.net/view.php?id=3D415 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --FnIBl7BKHmqKruUnnSmpBosiomiQAWgMX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWJ9dVAAoJEKeha0olJ0Nq9JEH/3qisWx9kS68Q3enlKLhTKE/ eYwmqUIDcS4ybRhoONKM0Nrh3rUtWDI5oxsMfCvowhrGihKoaIPBRbOlepVPg8W8 nZQeeo8IAbIswlGh7Sz9Au0k/8lES6Qd5ZdmRa97hcWLfNKIPF9nVypc19i2wt7g lKlyp7C9EHo9AFyZcnIURxHTnpZLsXJeezdYHe/I3/en+LdOOEnYs3NCgZCQhRLQ efwPp/NPgS/mR/SvIxLqsKKgjZDVWPtd2D2I3gJnfzMZZsBBZRLSPqmlP13tXxki HQX30ze/4AOCWhVCts3yE2NggWMNxc6Mz3vm9adi3fytpBy2b0ZGbeWDROEJZpw= =fQ9L -----END PGP SIGNATURE----- --FnIBl7BKHmqKruUnnSmpBosiomiQAWgMX--