Received: from eggs.gnu.org ([2001:4830:134:3::10]:57496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Yrq-0004XQ-Jw for qemu-devel@nongnu.org; Fri, 27 Jun 2014 12:19:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0Yrl-0000TR-6e for qemu-devel@nongnu.org; Fri, 27 Jun 2014 12:19:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Yrk-0000TE-Tz for qemu-devel@nongnu.org; Fri, 27 Jun 2014 12:19:09 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5RGJ84k021584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 27 Jun 2014 12:19:08 -0400 Date: Fri, 27 Jun 2014 18:19:05 +0200 From: Kevin Wolf Message-ID: <20140627161905.GH5223@noname.redhat.com> References: <1402459910-18889-1-git-send-email-famz@redhat.com> <20140627132904.GA31358@stefanha-thinkpad.muc.redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: <20140627132904.GA31358@stefanha-thinkpad.muc.redhat.com> Subject: Re: [Qemu-devel] [PATCH v4 0/9] virtio-blk: Converge VirtIOBlockRequest into VirtIOBlockReq List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Paolo Bonzini , Fam Zheng , qemu-devel@nongnu.org --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 27.06.2014 um 15:29 hat Stefan Hajnoczi geschrieben: > On Wed, Jun 11, 2014 at 12:11:41PM +0800, Fam Zheng wrote: > > This unifies the request structure used by dataplane and non-dataplane = code, > > while dropping unnessary fields for bounce buffer and read flag. > >=20 > > v4: Address Stefan's comments as below, and add Paolo's rev-by lines to= others. > >=20 > > [01/09] virtio-blk: Move VirtIOBlockReq to header > >=20 > > Include "block/block.h". > >=20 > > [02/09] virtio-blk: Convert VirtIOBlockReq.elem to pointer > >=20 > > Use g_slice_new0 for req as well. > >=20 > > [06/09] virtio-blk: Use VirtIOBlockReq.in to drop VirtIOBlockReq.in= hdr > >=20 > > Check guest input, don't assert. > >=20 > > [09/09] virtio-blk: Fix and clean up the in_sg and out_sg check > >=20 > > Use error_report + exit. > >=20 > > Fam Zheng (9): > > virtio-blk: Move VirtIOBlockReq to header > > virtio-blk: Convert VirtIOBlockReq.elem to pointer > > virtio-blk: Drop bounce buffer from dataplane code > > virtio-blk: Drop VirtIOBlockRequest.read > > virtio-blk: Replace VirtIOBlockRequest with VirtIOBlockReq > > virtio-blk: Use VirtIOBlockReq.in to drop VirtIOBlockReq.inhdr > > virtio-blk: Convert VirtIOBlockReq.out to structrue > > virtio-blk: Fill in VirtIOBlockReq.out in dataplane code > > virtio-blk: Fix and clean up the in_sg and out_sg check > >=20 > > hw/block/dataplane/virtio-blk.c | 169 ++++++++++++++------------------= -------- > > hw/block/virtio-blk.c | 117 +++++++++++++++------------- > > include/hw/virtio/virtio-blk.h | 11 +++ > > 3 files changed, 132 insertions(+), 165 deletions(-) > >=20 > > --=20 > > 2.0.0 > >=20 >=20 > Reviewed-by: Stefan Hajnoczi Thanks, applied all to the block branch. Kevin --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTrZl5AAoJEH8JsnLIjy/Wwa0QAMF+U8uXtAFO+ZG8Mn36EVNB ej7KRgnJCT3M1vnoJcmrruALn2ldxvJNtii2orh84Kcxzig8lfU6oRxVvKWKhnF+ zCuI8N/XRQ07NThtTLZT6v0gA+rQsUf16IOKxHqXskeg1DcERvvx2Pms5Bcjs0kz t0KxA4mKgsa8NhwwKe03T2TP/6y000eb3HWG26V5wadFigsqdCUiUWaMDPHTg6pV 2ZfmmKHzdET97XGXqwPwkrPl+8uUbxRZ/fj34XvdpPF2zksAjtNuZz/p9st42PN9 f6/Y5uPMinwKw0l5iH/rVSXaLg5xvE0fZJv6f9LpAloecJKkveZmD6dV6rZVUnQ5 FK44QWqt7+xDhaPwxzDeZgStOjYSgIYgi9/9GWz80PR7EizcbS3wtTqpDc50s88g BfGO6bncsmAEjTknc+/FlR2QxcLArbkMmYgDbg+KldO2UGecZYeBO01/fG/e67Ba MpwWdw7RN82B/rRgo2ivaufV4sbArT0J/Zj6JaSCOS/RuXiB0mB1bTMyggQa9/dY Z3uoCS9Ay5MlO2QgmBu/iUe0BcRFwrOfm9W8EXNuU7MfNvQyUsSGEZsL331T7RUR dE2uc2FYpqorE1QWeJeQRt4RTRctS4ENrkpQ6iMNBCnq1yV5Yb4H5f/z/O9at2LK zPnysfTir3z0Q2+tKFMk =2L+m -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--