Browse Source
Introduce QCryptodevBackendType in cryptodev.json, also apply this to related codes. Then we can drop 'enum CryptoDevBackendOptionsType'. Note that `CRYPTODEV_BACKEND_TYPE_NONE` is *NOT* used by anywhere, so drop it(no 'none' enum in QCryptodevBackendType). Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Message-Id: <20230301105847.253084-2-pizhenwei@bytedance.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>pull/232/head
committed by
Michael S. Tsirkin
9 changed files with 31 additions and 15 deletions
@ -0,0 +1,20 @@ |
|||
# -*- Mode: Python -*- |
|||
# vim: filetype=python |
|||
# |
|||
# This work is licensed under the terms of the GNU GPL, version 2 or later. |
|||
# See the COPYING file in the top-level directory. |
|||
|
|||
## |
|||
# @QCryptodevBackendType: |
|||
# |
|||
# The crypto device backend type |
|||
# |
|||
# @builtin: the QEMU builtin support |
|||
# @vhost-user: vhost-user |
|||
# @lkcf: Linux kernel cryptographic framework |
|||
# |
|||
# Since: 8.0 |
|||
## |
|||
{ 'enum': 'QCryptodevBackendType', |
|||
'prefix': 'QCRYPTODEV_BACKEND_TYPE', |
|||
'data': ['builtin', 'vhost-user', 'lkcf']} |
|||
Loading…
Reference in new issue