qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]