cryptodev: add vhost support
Impliment the vhost-crypto's funtions, such as startup, stop and notification etc. Introduce an enum QCryptoCryptoDevBackendOptionsType in order to identify the cryptodev vhost backend is vhost-user or vhost-kernel-module (If exist). At this point, the cryptdoev-vhost-user works. Signed-off-by:Gonglei <arei.gonglei@huawei.com> Signed-off-by:
Longpeng(Mike) <longpeng2@huawei.com> Signed-off-by:
Jay Zhou <jianjay.zhou@huawei.com> Reviewed-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Michael S. Tsirkin <mst@redhat.com>
Showing
- backends/cryptodev-builtin.c 1 addition, 0 deletionsbackends/cryptodev-builtin.c
- backends/cryptodev-vhost-user.c 16 additions, 0 deletionsbackends/cryptodev-vhost-user.c
- backends/cryptodev-vhost.c 258 additions, 0 deletionsbackends/cryptodev-vhost.c
- hw/virtio/virtio-crypto.c 70 additions, 0 deletionshw/virtio/virtio-crypto.c
- include/hw/virtio/virtio-crypto.h 1 addition, 0 deletionsinclude/hw/virtio/virtio-crypto.h
- include/sysemu/cryptodev-vhost-user.h 44 additions, 0 deletionsinclude/sysemu/cryptodev-vhost-user.h
- include/sysemu/cryptodev.h 8 additions, 0 deletionsinclude/sysemu/cryptodev.h
include/sysemu/cryptodev-vhost-user.h
0 → 100644
Please register or sign in to comment