From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brd6e-0004Vs-R8 for qemu-devel@nongnu.org; Tue, 04 Oct 2016 23:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brd6c-0000Y0-3Y for qemu-devel@nongnu.org; Tue, 04 Oct 2016 23:42:56 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:63100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brd6b-0000LF-Ff for qemu-devel@nongnu.org; Tue, 04 Oct 2016 23:42:54 -0400 From: "Gonglei (Arei)" Date: Wed, 5 Oct 2016 03:42:26 +0000 Message-ID: <33183CC9F5247A488A2544077AF19020B03E65C0@SZXEMA503-MBS.china.huawei.com> References: <1475051152-400276-1-git-send-email-arei.gonglei@huawei.com> <20161004101322.GH4587@stefanha-x1.localdomain> In-Reply-To: <20161004101322.GH4587@stefanha-x1.localdomain> Content-Language: zh-CN Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [virtio-dev] Re: [PATCH v4 00/13] virtio-crypto: introduce framework and device emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: "qemu-devel@nongnu.org" , "virtio-dev@lists.oasis-open.org" , Luonengjun , "mst@redhat.com" , "pbonzini@redhat.com" , "berrange@redhat.com" , "Huangweidong (C)" , "Wubin (H)" , "mike.caraman@nxp.com" , "agraf@suse.de" , "xin.zeng@intel.com" , Claudio Fontana , "nmorey@kalray.eu" , "vincent.jardin@6wind.com" , "Zhoujian (jay, Euler)" , "Hanweidong (Randy)" , "Huangpeng (Peter)" > -----Original Message----- > From: virtio-dev@lists.oasis-open.org [mailto:virtio-dev@lists.oasis-open= .org] > On Behalf Of Stefan Hajnoczi > Sent: Tuesday, October 04, 2016 6:13 PM > Subject: [virtio-dev] Re: [PATCH v4 00/13] virtio-crypto: introduce frame= work > and device emulation >=20 > On Wed, Sep 28, 2016 at 04:25:39PM +0800, Gonglei wrote: > > The virtio crypto is a virtual crypto device as well as a kind > > of virtual hardware accelerator for virtual machines. The > > encryption and decryption requests are placed in the data > > queue and handled by the real crypto accelerators finally. > > The second queue is the control queue used to create or > > destroy sessions for symmetric algorithms and control > > some advanced features in the future. The virtio crypto > > device provides the following crypto services: CIPHER, > > MAC, HASH, AEAD etc. >=20 > Please look at my reply to the virtio-crypto spec email thread. Changes > to the request layout are necessary (dropping custom scatter-gather I/O, > avoiding assumptions about iovec layout, ordering of > device-readable/writable buffers). >=20 > This will change the code quite a bit so I won't review further for now. >=20 > Stefan OK, thank you very much for your comments, Stefan. I'll fix the spec and corresponding code ASAP. Regards, -Gonglei