[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session ha
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler |
Date: |
Tue, 28 Nov 2017 11:01:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 28/11/2017 10:03, Gonglei wrote:
> Introduce two vhost-user meassges: VHOST_USER_CREATE_CRYPTO_SESSION
> and VHOST_USER_CLOSE_CRYPTO_SESSION. At this point, the QEMU side
> support crypto operation in cryptodev host-user backend.
>
> Signed-off-by: Gonglei <address@hidden>
> Signed-off-by: Longpeng(Mike) <address@hidden>
> Signed-off-by: Zhoujian <address@hidden>
> ---
> backends/cryptodev-vhost-user.c | 50 +++++++++++++++++-----
> docs/interop/vhost-user.txt | 19 +++++++++
> hw/virtio/vhost-user.c | 89
> +++++++++++++++++++++++++++++++++++++++
> include/hw/virtio/vhost-backend.h | 8 ++++
> 4 files changed, 155 insertions(+), 11 deletions(-)
As far as I understand, VIRTIO_CRYPTO_CIPHER_CREATE_SESSION is called as
a result of sending a message on the control virtqueue.
Why can't vhost-user also process create/destroy session messages on the
control virtqueue, instead of having device-specific messages in the
protocol?
Thanks,
Paolo
- [Qemu-devel] [PATCH 0/4] cryptodev: add vhost support, Gonglei, 2017/11/28
- [Qemu-devel] [PATCH 4/4] cryptodev-vhost-user: set the key length, Gonglei, 2017/11/28
- [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Gonglei, 2017/11/28
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Gonglei (Arei), 2017/11/28
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Paolo Bonzini, 2017/11/28
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Gonglei (Arei), 2017/11/28
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Paolo Bonzini, 2017/11/28
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Gonglei (Arei), 2017/11/28
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Michael S. Tsirkin, 2017/11/28
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Paolo Bonzini, 2017/11/29
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Tan, Jianfeng, 2017/11/29
- Re: [Qemu-devel] [PATCH 3/4] cryptodev-vhost-user: add crypto session handler, Michael S. Tsirkin, 2017/11/28
[Qemu-devel] [PATCH 2/4] cryptodev: add vhost support, Gonglei, 2017/11/28