From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@mailo.com>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
qemu-arm@nongnu.org, "Gonglei (Arei)" <arei.gonglei@huawei.com>,
"zhenwei pi" <zhenwei.pi@linux.dev>,
"Stefano Garzarella" <sgarzare@redhat.com>,
"Laurent Vivier" <lvivier@redhat.com>,
"Amit Shah" <amit@kernel.org>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"John Snow" <jsnow@redhat.com>, "Kevin Wolf" <kwolf@redhat.com>,
"Hanna Reitz" <hreitz@redhat.com>,
qemu-block@nongnu.org, devel@lists.libvirt.org,
"Fabiano Rosas" <farosas@suse.de>,
"Mohamed Mediouni" <mohamed@unpredictable.fr>,
"Thomas Huth" <thuth@redhat.com>
Subject: Re: [PATCH v2 7/8] docs: deprecate virtio-crypto
Date: Fri, 4 Sep 2026 10:38:06 -0400 [thread overview]
Message-ID: <20260904103743-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <20260824-fixes-for-11-2-v2-7-352c6b890402@linaro.org>
On Mon, Aug 24, 2026 at 04:24:54PM +0100, Alex Bennée wrote:
> We have outstanding guest exploitable bugs in the code which is fairly
> complex and needs some serious love to clean it up. As off-CPU
> cryptography acceleration seems to be waning in popularity lets just
> the deprecate the sub-system with a view to removing it in a couple of
> cycles.
>
> We can also remove the backend code at that point as well.
>
> Link: https://gitlab.com/qemu-project/qemu/-/work_items/3625
> Reviewed-by: Mohamed Mediouni <mohamed@unpredictable.fr>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
I am assuming it will be merged with the rest of it?
> ---
> v2
> - mention the backend bits (only used by virtio-crypto)
> - use Gonglei's modified version of the text
> ---
> docs/about/deprecated.rst | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/docs/about/deprecated.rst b/docs/about/deprecated.rst
> index 0c656a968fc..05e4ce8cf16 100644
> --- a/docs/about/deprecated.rst
> +++ b/docs/about/deprecated.rst
> @@ -276,6 +276,24 @@ future release. Where no 'dh-params.pem' file is provided, the DH
> parameters will be automatically negotiated in accordance with
> RFC7919.
>
> +Devices
> +-------
> +
> +``virtio-crypto`` and cryptodev backends (since 11.2)
> +'''''''''''''''''''''''''''''''''''''''''''''''''''''
> +
> +The ``virtio-crypto`` device emulation is quite complex code with a
> +number of known flaws. It has never been migratable, so it is
> +unlikely to be used in any serious virtualization setting. Modern
> +ISAs provide on-CPU cryptography instructions (e.g. AES-NI/VAES,
> +armv8 crypto extensions), and the Linux kernel deprecated AF_ALG
> +and dropped its off-CPU accelerator support in Linux 7.2, removing
> +the primary userspace path for off-CPU crypto acceleration. The
> +time for this sort of off-load has passed.
> +
> +As this is the only device that uses the cryptodev backends these will
> +be removed at the same time the ``virtio-crypto`` device is.
> +
> Device options
> --------------
>
>
> --
> 2.47.3
next prev parent reply other threads:[~2026-09-04 14:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 15:24 [PATCH v2 0/8] various fixes for 11.2 (gitlab, tests, char-fe, fdc, mailmap, deprecations) pre-PR Alex Bennée
2026-08-24 15:24 ` [PATCH v2 1/8] gitlab: use .base_meson_job_template for macOS jobs Alex Bennée
2026-08-24 15:24 ` [PATCH v2 2/8] tests/arm: add explicit CFLAGS for system build Alex Bennée
2026-08-24 15:24 ` [PATCH v2 3/8] gitlab: add arm-softmmu tests to the macOS build Alex Bennée
2026-08-24 21:28 ` Philippe Mathieu-Daudé
2026-08-25 9:09 ` Alex Bennée
2026-08-24 15:24 ` [PATCH v2 4/8] char-fe: implement qemu_chr_fe_backend_name Alex Bennée
2026-08-24 15:24 ` [PATCH v2 5/8] hw/block: validate the fdc sector position fits within bounds Alex Bennée
2026-08-24 15:24 ` [PATCH v2 6/8] tests/qtest: add test case for fdc sector overflow Alex Bennée
2026-08-24 15:28 ` Daniel P. Berrangé
2026-08-24 16:01 ` Alex Bennée
2026-08-24 15:24 ` [PATCH v2 7/8] docs: deprecate virtio-crypto Alex Bennée
2026-09-04 14:38 ` Michael S. Tsirkin [this message]
2026-08-24 15:24 ` [PATCH v2 8/8] mailmap: map the last From-munged author back to a real identity Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260904103743-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=amit@kernel.org \
--cc=arei.gonglei@huawei.com \
--cc=devel@lists.libvirt.org \
--cc=farosas@suse.de \
--cc=hreitz@redhat.com \
--cc=jsnow@redhat.com \
--cc=kwolf@redhat.com \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=mohamed@unpredictable.fr \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@mailo.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=sgarzare@redhat.com \
--cc=thuth@redhat.com \
--cc=zhenwei.pi@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.