From patchwork Mon Mar 19 21:27:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 147643 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BC269B7010 for ; Tue, 20 Mar 2012 08:28:06 +1100 (EST) Received: from localhost ([::1]:53907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9k7Y-0002XF-I7 for incoming@patchwork.ozlabs.org; Mon, 19 Mar 2012 17:28:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9k76-0001yJ-EP for qemu-devel@nongnu.org; Mon, 19 Mar 2012 17:27:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9k74-0000qn-IN for qemu-devel@nongnu.org; Mon, 19 Mar 2012 17:27:36 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:43425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9k74-0000qX-B4 for qemu-devel@nongnu.org; Mon, 19 Mar 2012 17:27:34 -0400 Received: from [192.168.88.2] (mjt.vpn.tls.msk.ru [192.168.177.99]) by isrv.corpit.ru (Postfix) with ESMTP id 4B68DA0D76; Tue, 20 Mar 2012 01:27:30 +0400 (MSK) Message-ID: <4F67A4C0.8010002@msgid.tls.msk.ru> Date: Tue, 20 Mar 2012 01:27:28 +0400 From: Michael Tokarev Organization: Telecom Service, JSC User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20120216 Icedove/8.0 MIME-Version: 1.0 To: Michael Tokarev References: <1332192139-10217-1-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1332192139-10217-1-git-send-email-mjt@msgid.tls.msk.ru> X-Enigmail-Version: 1.3.4 OpenPGP: id=804465C5 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 86.62.121.231 Cc: qemu-devel@nongnu.org, Anthony Liguori Subject: Re: [Qemu-devel] [PATCHv5 00/11] cleanup/consolidate iovec functions X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org I pushed it all to git://git.corpit.ru/qemu.git mjt-iov Note there was a bug in last change of unit-test (in the last patch), -- again because I had to rewrite it so much times: it is correct in the git tree but wrong in the last patch (right value is 0xff, it is checked in other place to ensure no "other" bytes are touched). /mjt --- b/test-iov.c +++ a/test-iov.c @@ -223 +223 @@ static void test_io(void) - iov_memset(iov, niov, 0, j & 255, -1); + iov_memset(iov, niov, 0, 0xff, -1);