* virtio-crypto: Inquiry about virtio crypto
@ 2025-11-27 1:43 Bibo Mao
2025-11-27 2:56 ` Gonglei (Arei)
0 siblings, 1 reply; 4+ messages in thread
From: Bibo Mao @ 2025-11-27 1:43 UTC (permalink / raw)
To: arei.gonglei; +Cc: linux-crypto, virtualization, linux-kernel, QEMU devel
Hi gonglei,
I am investigating how to use HW crypto accelerator in VM. It seems
that virtio-crypto is one option, however only aes skcipher algo is
supported and virtio-crypto device is not suggested by RHEL 10.
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_and_managing_linux_virtual_machines/feature-support-and-limitations-in-rhel-10-virtualization
I want to know what is the potential issued with virtio-crypto.
Regards
Bibo Mao
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: virtio-crypto: Inquiry about virtio crypto
2025-11-27 1:43 virtio-crypto: Inquiry about virtio crypto Bibo Mao
@ 2025-11-27 2:56 ` Gonglei (Arei)
2025-11-27 3:09 ` Bibo Mao
2025-11-27 9:38 ` Bibo Mao
0 siblings, 2 replies; 4+ messages in thread
From: Gonglei (Arei) @ 2025-11-27 2:56 UTC (permalink / raw)
To: Bibo Mao
Cc: linux-crypto@vger.kernel.org, virtualization@lists.linux.dev,
linux-kernel, QEMU devel
Hi,
> -----Original Message-----
> From: Bibo Mao <maobibo@loongson.cn>
> Sent: Thursday, November 27, 2025 9:43 AM
> To: Gonglei (Arei) <arei.gonglei@huawei.com>
> Cc: linux-crypto@vger.kernel.org; virtualization@lists.linux.dev; linux-kernel
> <linux-kernel@vger.kernel.org>; QEMU devel <qemu-devel@nongnu.org>
> Subject: virtio-crypto: Inquiry about virtio crypto
>
> Hi gonglei,
>
> I am investigating how to use HW crypto accelerator in VM. It seems that
> virtio-crypto is one option, however only aes skcipher algo is supported and
Actually akcipher service had been supported by virtio-crypto in 2022.
> virtio-crypto device is not suggested by RHEL 10.
>
> https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html
> /configuring_and_managing_linux_virtual_machines/feature-support-and-limit
> ations-in-rhel-10-virtualization
>
> I want to know what is the potential issued with virtio-crypto.
>
This question is too big, maybe you'd better ask RHEL guys. :(
Regards,
-Gonglei
> Regards
> Bibo Mao
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: virtio-crypto: Inquiry about virtio crypto
2025-11-27 2:56 ` Gonglei (Arei)
@ 2025-11-27 3:09 ` Bibo Mao
2025-11-27 9:38 ` Bibo Mao
1 sibling, 0 replies; 4+ messages in thread
From: Bibo Mao @ 2025-11-27 3:09 UTC (permalink / raw)
To: Gonglei (Arei)
Cc: linux-crypto@vger.kernel.org, virtualization@lists.linux.dev,
linux-kernel, QEMU devel
On 2025/11/27 上午10:56, Gonglei (Arei) wrote:
> Hi,
>
>> -----Original Message-----
>> From: Bibo Mao <maobibo@loongson.cn>
>> Sent: Thursday, November 27, 2025 9:43 AM
>> To: Gonglei (Arei) <arei.gonglei@huawei.com>
>> Cc: linux-crypto@vger.kernel.org; virtualization@lists.linux.dev; linux-kernel
>> <linux-kernel@vger.kernel.org>; QEMU devel <qemu-devel@nongnu.org>
>> Subject: virtio-crypto: Inquiry about virtio crypto
>>
>> Hi gonglei,
>>
>> I am investigating how to use HW crypto accelerator in VM. It seems that
>> virtio-crypto is one option, however only aes skcipher algo is supported and
>
> Actually akcipher service had been supported by virtio-crypto in 2022.
I am studying virtio-crypto and want to add sm4 algo with skcipher on
it. Hope to get some guidances and work together on it in future :)
Regards
Bibo Mao
>
>> virtio-crypto device is not suggested by RHEL 10.
>>
>> https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html
>> /configuring_and_managing_linux_virtual_machines/feature-support-and-limit
>> ations-in-rhel-10-virtualization
>>
>> I want to know what is the potential issued with virtio-crypto.
>>
>
> This question is too big, maybe you'd better ask RHEL guys. :(
>
> Regards,
> -Gonglei
>
>> Regards
>> Bibo Mao
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: virtio-crypto: Inquiry about virtio crypto
2025-11-27 2:56 ` Gonglei (Arei)
2025-11-27 3:09 ` Bibo Mao
@ 2025-11-27 9:38 ` Bibo Mao
1 sibling, 0 replies; 4+ messages in thread
From: Bibo Mao @ 2025-11-27 9:38 UTC (permalink / raw)
To: Gonglei (Arei)
Cc: linux-crypto@vger.kernel.org, virtualization@lists.linux.dev,
linux-kernel, QEMU devel
Hi gonglei,
Sorry to bother you again.
I notice that numa node is supported with virtio-crypto device. Is there
multiple PCIE root bridges with different numa nodes supported on some
VM models?
I ask this question because I do not know whether it is possible to
preallocate virtio_crypto_op_data_req buffer and IV buffer within
structure virtio_crypto_sym_request. Only that there is no node
information when virtio_crypto_sym_request is allocated.
Regards
Bibo Mao
On 2025/11/27 上午10:56, Gonglei (Arei) wrote:
> Hi,
>
>> -----Original Message-----
>> From: Bibo Mao <maobibo@loongson.cn>
>> Sent: Thursday, November 27, 2025 9:43 AM
>> To: Gonglei (Arei) <arei.gonglei@huawei.com>
>> Cc: linux-crypto@vger.kernel.org; virtualization@lists.linux.dev; linux-kernel
>> <linux-kernel@vger.kernel.org>; QEMU devel <qemu-devel@nongnu.org>
>> Subject: virtio-crypto: Inquiry about virtio crypto
>>
>> Hi gonglei,
>>
>> I am investigating how to use HW crypto accelerator in VM. It seems that
>> virtio-crypto is one option, however only aes skcipher algo is supported and
>
> Actually akcipher service had been supported by virtio-crypto in 2022.
>
>> virtio-crypto device is not suggested by RHEL 10.
>>
>> https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html
>> /configuring_and_managing_linux_virtual_machines/feature-support-and-limit
>> ations-in-rhel-10-virtualization
>>
>> I want to know what is the potential issued with virtio-crypto.
>>
>
> This question is too big, maybe you'd better ask RHEL guys. :(
>
> Regards,
> -Gonglei
>
>> Regards
>> Bibo Mao
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-11-27 9:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 1:43 virtio-crypto: Inquiry about virtio crypto Bibo Mao
2025-11-27 2:56 ` Gonglei (Arei)
2025-11-27 3:09 ` Bibo Mao
2025-11-27 9:38 ` Bibo Mao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox