All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
	"Peter Maydell" <peter.maydell@linaro.org>
Subject: [PULL 4/4] hw/virtio: don't mark virtio-crypto as secure
Date: Fri,  4 Dec 2026 13:05:10 +0000	[thread overview]
Message-ID: <20261204130510.855744-5-berrange@redhat.com> (raw)
In-Reply-To: <20261204130510.855744-1-berrange@redhat.com>

This device was deprecated in aaf25b4ccc, and given the messaging
in that deprecation, it is inappropriate to claim it is intended
to provide a security boundary going forward.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 hw/virtio/virtio-crypto-pci.c | 2 +-
 hw/virtio/virtio-crypto.c     | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/hw/virtio/virtio-crypto-pci.c b/hw/virtio/virtio-crypto-pci.c
index 7b7dd056169..c4089f49fe3 100644
--- a/hw/virtio/virtio-crypto-pci.c
+++ b/hw/virtio/virtio-crypto-pci.c
@@ -88,6 +88,6 @@ static const VirtioPCIDeviceTypeInfo virtio_crypto_pci_info = {
 
 static void virtio_crypto_pci_register_types(void)
 {
-    virtio_pci_types_register(&virtio_crypto_pci_info);
+    virtio_pci_types_register_insecure(&virtio_crypto_pci_info);
 }
 type_init(virtio_crypto_pci_register_types)
diff --git a/hw/virtio/virtio-crypto.c b/hw/virtio/virtio-crypto.c
index 51a99a6cf6e..6d053e7d936 100644
--- a/hw/virtio/virtio-crypto.c
+++ b/hw/virtio/virtio-crypto.c
@@ -1315,7 +1315,6 @@ static const TypeInfo virtio_crypto_info = {
     .instance_size = sizeof(VirtIOCrypto),
     .instance_init = virtio_crypto_instance_init,
     .class_init = virtio_crypto_class_init,
-    .secure = true,
 };
 
 static void virtio_register_types(void)
-- 
2.56.1



  parent reply	other threads:[~2026-12-04 13:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 13:05 [PULL for-11.2 0/4] Misc fixes patches Daniel P. Berrangé
2026-12-04 13:05 ` [PULL 1/4] io: fix busy-wait when uncorking Daniel P. Berrangé
2026-12-04 15:47   ` Eric Blake
2026-12-04 13:05 ` [PULL 2/4] io: fix EOF check in websocket decoding code Daniel P. Berrangé
2026-12-04 13:05 ` [PULL 3/4] tests/functional: update to newer sunxi kernels again Daniel P. Berrangé
2026-12-04 13:05 ` Daniel P. Berrangé [this message]
2026-12-04 19:31 ` [PULL for-11.2 0/4] Misc fixes patches Richard Henderson

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=20261204130510.855744-5-berrange@redhat.com \
    --to=berrange@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=philmd@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    /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.