From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuD2d-0000pH-35 for qemu-devel@nongnu.org; Wed, 15 Apr 2009 17:53:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuD2X-0000p0-N5 for qemu-devel@nongnu.org; Wed, 15 Apr 2009 17:53:09 -0400 Received: from [199.232.76.173] (port=34774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuD2X-0000ox-HJ for qemu-devel@nongnu.org; Wed, 15 Apr 2009 17:53:05 -0400 Received: from bsdimp.com ([199.45.160.85]:58742 helo=harmony.bsdimp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LuD2W-0002v1-Vj for qemu-devel@nongnu.org; Wed, 15 Apr 2009 17:53:05 -0400 Date: Wed, 15 Apr 2009 15:52:24 -0600 (MDT) Message-Id: <20090415.155224.1675125748.imp@bsdimp.com> Subject: Re: [Qemu-devel] [PATCH 2/9] struct iovec is now universally available From: "M. Warner Losh" In-Reply-To: <6254906245-BeMail@laptop> References: <1239816309.4431.169.camel@blaa> <6254906245-BeMail@laptop> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, revol@free.fr Cc: markmc@redhat.com In message: <6254906245-BeMail@laptop> "Fran=E7ois Revol" writes: : > On Wed, 2009-04-15 at 18:55 +0200, Christoph Hellwig wrote: : > > On Wed, Apr 15, 2009 at 05:29:22PM +0100, Mark McLoughlin wrote: : > > > struct iovec is now defined in qemu-common.h if needed, so we = : > > > don't need : > > > the tap code to handle !defined(HAVE_IOVEC). : > > = : > > But is the writev system call also universally available? : > = : > Fair point. : > = : > I don't know of anywhere that qemu currently builds where writev() = : > isn't : > available ... do you? : = : Even BeOS has writev :P writev(2) was used in the 4.2BSD network daemons, so it tended to be picked up by everybody that picked up the BSD TCP network stack/interface. Warner