All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure
@ 2026-12-04 11:11 Daniel P. Berrangé
  2026-12-04 11:19 ` Peter Maydell
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Daniel P. Berrangé @ 2026-12-04 11:11 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Gonglei (Arei),
	Daniel P. Berrangé

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.

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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure
  2026-12-04 11:11 [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure Daniel P. Berrangé
@ 2026-12-04 11:19 ` Peter Maydell
  2026-12-04 11:27 ` Philippe Mathieu-Daudé
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Peter Maydell @ 2026-12-04 11:19 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: qemu-devel, Michael S. Tsirkin, Gonglei (Arei)

On Fri, 4 Dec 2026 at 11:11, Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> 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.
>
> 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)

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure
  2026-12-04 11:11 [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure Daniel P. Berrangé
  2026-12-04 11:19 ` Peter Maydell
@ 2026-12-04 11:27 ` Philippe Mathieu-Daudé
  2026-12-04 12:30 ` Alex Bennée
  2026-12-04 16:58 ` Michael S. Tsirkin
  3 siblings, 0 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-12-04 11:27 UTC (permalink / raw)
  To: Daniel P. Berrangé, qemu-devel
  Cc: Peter Maydell, Michael S. Tsirkin, Gonglei (Arei)

On 4/12/26 12:11, Daniel P. Berrangé wrote:
> 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.
> 
> 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(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure
  2026-12-04 11:11 [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure Daniel P. Berrangé
  2026-12-04 11:19 ` Peter Maydell
  2026-12-04 11:27 ` Philippe Mathieu-Daudé
@ 2026-12-04 12:30 ` Alex Bennée
  2026-12-04 16:58 ` Michael S. Tsirkin
  3 siblings, 0 replies; 6+ messages in thread
From: Alex Bennée @ 2026-12-04 12:30 UTC (permalink / raw)
  To: Daniel P. Berrangé
  Cc: qemu-devel, Peter Maydell, Michael S. Tsirkin, Gonglei (Arei)

Daniel P. Berrangé <berrange@redhat.com> writes:

> 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.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure
  2026-12-04 11:11 [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure Daniel P. Berrangé
                   ` (2 preceding siblings ...)
  2026-12-04 12:30 ` Alex Bennée
@ 2026-12-04 16:58 ` Michael S. Tsirkin
  2026-12-04 17:07   ` Daniel P. Berrangé
  3 siblings, 1 reply; 6+ messages in thread
From: Michael S. Tsirkin @ 2026-12-04 16:58 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: qemu-devel, Peter Maydell, Gonglei (Arei)

On Fri, Dec 04, 2026 at 11:11:26AM +0000, Daniel P. Berrangé wrote:
> 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.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>

Acked-by: Michael S. Tsirkin <mst@redhat.com>

someone wants to pick this up? didn't plan another pull.

> ---
>  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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure
  2026-12-04 16:58 ` Michael S. Tsirkin
@ 2026-12-04 17:07   ` Daniel P. Berrangé
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel P. Berrangé @ 2026-12-04 17:07 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: qemu-devel, Peter Maydell, Gonglei (Arei)

On Fri, Dec 04, 2026 at 11:58:39AM -0500, Michael S. Tsirkin wrote:
> On Fri, Dec 04, 2026 at 11:11:26AM +0000, Daniel P. Berrangé wrote:
> > 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.
> > 
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> 
> Acked-by: Michael S. Tsirkin <mst@redhat.com>
> 
> someone wants to pick this up? didn't plan another pull.

No worries, I sent a pull req already.


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-04 17:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 11:11 [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure Daniel P. Berrangé
2026-12-04 11:19 ` Peter Maydell
2026-12-04 11:27 ` Philippe Mathieu-Daudé
2026-12-04 12:30 ` Alex Bennée
2026-12-04 16:58 ` Michael S. Tsirkin
2026-12-04 17:07   ` Daniel P. Berrangé

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.