mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
cryptodev: Introduce server type in QAPI
Introduce cryptodev service type in cryptodev.json, then apply this to related codes. Now we can remove VIRTIO_CRYPTO_SERVICE_xxx dependence from QEMU cryptodev. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Message-Id: <20230301105847.253084-5-pizhenwei@bytedance.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
999c789f00
commit
bc304a6442
5 changed files with 44 additions and 10 deletions
|
@ -18,6 +18,17 @@
|
|||
'prefix': 'QCRYPTODEV_BACKEND_ALG',
|
||||
'data': ['sym', 'asym']}
|
||||
|
||||
##
|
||||
# @QCryptodevBackendServiceType:
|
||||
#
|
||||
# The supported service types of a crypto device.
|
||||
#
|
||||
# Since: 8.0
|
||||
##
|
||||
{ 'enum': 'QCryptodevBackendServiceType',
|
||||
'prefix': 'QCRYPTODEV_BACKEND_SERVICE',
|
||||
'data': ['cipher', 'hash', 'mac', 'aead', 'akcipher']}
|
||||
|
||||
##
|
||||
# @QCryptodevBackendType:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue