From: Stefan Hajnoczi <stefanha@gmail.com>
To: Gonglei <arei.gonglei@huawei.com>
Cc: qemu-devel@nongnu.org, virtio-dev@lists.oasis-open.org,
weidong.huang@huawei.com, claudio.fontana@huawei.com,
mst@redhat.com, xin.zeng@intel.com, hanweidong@huawei.com,
luonengjun@huawei.com, agraf@suse.de, nmorey@kalray.eu,
mike.caraman@nxp.com, stefanha@redhat.com,
jianjay.zhou@huawei.com, pbonzini@redhat.com,
peter.huangpeng@huawei.com, vincent.jardin@6wind.com,
wu.wubin@huawei.com, arei.gonglei@hotmail.com
Subject: Re: [Qemu-devel] [PATCH v7 10/12] cryptodev: introduce an unified wrapper for crypto operation
Date: Sun, 16 Oct 2016 14:26:12 +0100 [thread overview]
Message-ID: <20161016132612.GC13294@stefanha-x1.localdomain> (raw)
In-Reply-To: <1476342726-104488-11-git-send-email-arei.gonglei@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]
On Thu, Oct 13, 2016 at 03:12:04PM +0800, Gonglei wrote:
> We use an opaque point to the VirtIOCryptoReq which
> can support different packets based on different
> algorithms.
>
> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> ---
> backends/cryptodev-builtin.c | 2 +-
> backends/cryptodev.c | 28 ++++++++++++++++++++++++++--
> hw/virtio/virtio-crypto.c | 10 +++++-----
> include/sysemu/cryptodev.h | 13 +++++++------
> 4 files changed, 39 insertions(+), 14 deletions(-)
>
> diff --git a/backends/cryptodev-builtin.c b/backends/cryptodev-builtin.c
> index 34c45be..dc0a364 100644
> --- a/backends/cryptodev-builtin.c
> +++ b/backends/cryptodev-builtin.c
> @@ -286,7 +286,7 @@ static int cryptodev_builtin_sym_operation(
> return -VIRTIO_CRYPTO_ERR;
> }
> }
> - return 0;
> + return VIRTIO_CRYPTO_OK;
> }
This looks unrelated to the commit description. Please squash the
VIRTIO_CRYPTO_OK changes into the patches that introduced the old code
that you are replacing.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
next prev parent reply other threads:[~2016-10-16 13:26 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 7:11 [Qemu-devel] [PATCH v7 00/12] virtio-crypto: introduce framework and device emulation Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 01/12] cryptodev: introduce cryptodev backend interface Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 02/12] cryptodev: add symmetric algorithm operation stuff Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 03/12] virtio-crypto: introduce virtio_crypto.h Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 04/12] cryptodev: introduce a new cryptodev backend Gonglei
2016-10-13 7:11 ` [Qemu-devel] [PATCH v7 05/12] virtio-crypto: add virtio crypto device emulation Gonglei
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 06/12] virtio-crypto-pci: add virtio crypto pci support Gonglei
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 07/12] virtio-crypto: set capacity of algorithms supported Gonglei
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 08/12] virtio-crypto: add control queue handler Gonglei
2016-10-16 13:02 ` Stefan Hajnoczi
2016-10-17 5:58 ` Gonglei (Arei)
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 09/12] virtio-crypto: add data queue processing handler Gonglei
2016-10-16 13:22 ` Stefan Hajnoczi
2016-10-17 6:29 ` Gonglei (Arei)
2016-10-18 10:08 ` [Qemu-devel] [virtio-dev] " Stefan Hajnoczi
2016-10-19 3:43 ` Gonglei (Arei)
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 10/12] cryptodev: introduce an unified wrapper for crypto operation Gonglei
2016-10-16 13:26 ` Stefan Hajnoczi [this message]
2016-10-17 6:32 ` Gonglei (Arei)
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 11/12] virtio-crypto: add myself as virtio-crypto and cryptodev backends maintainer Gonglei
2016-10-13 7:12 ` [Qemu-devel] [PATCH v7 12/12] virtio-crypto: perfect algorithms chainning support Gonglei
2016-10-16 13:30 ` Stefan Hajnoczi
2016-10-17 6:33 ` Gonglei (Arei)
2016-10-13 8:11 ` [Qemu-devel] [PATCH v7 00/12] virtio-crypto: introduce framework and device emulation no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161016132612.GC13294@stefanha-x1.localdomain \
--to=stefanha@gmail.com \
--cc=agraf@suse.de \
--cc=arei.gonglei@hotmail.com \
--cc=arei.gonglei@huawei.com \
--cc=claudio.fontana@huawei.com \
--cc=hanweidong@huawei.com \
--cc=jianjay.zhou@huawei.com \
--cc=luonengjun@huawei.com \
--cc=mike.caraman@nxp.com \
--cc=mst@redhat.com \
--cc=nmorey@kalray.eu \
--cc=pbonzini@redhat.com \
--cc=peter.huangpeng@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=vincent.jardin@6wind.com \
--cc=virtio-dev@lists.oasis-open.org \
--cc=weidong.huang@huawei.com \
--cc=wu.wubin@huawei.com \
--cc=xin.zeng@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).