From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7684606A33B for ; Fri, 4 Dec 2026 16:59:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ZnIj8oVd; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=gCKE4Q2H Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xZWcd-0007hw-HE; Fri, 04 Dec 2026 11:58:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xZWcT-0007hb-PQ for qemu-devel@nongnu.org; Fri, 04 Dec 2026 11:58:50 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xZWcS-0004hH-Ap for qemu-devel@nongnu.org; Fri, 04 Dec 2026 11:58:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796403528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=021DAw8Hmj3pxOZbfra5j0/FRpBsL3Ov7XTeOA2fQbg=; b=ZnIj8oVdVA49o7HNSHuY7mDFJkefYviflMs4KxKB4cVKD/sbOA/Ycl2bPT9JFWdtOvs6++ GAYZTxHnyAXnKbkFOc8Wxqp5Sui5sTTX2Q3iBNLbhxFgXr57hdNbmufk0IqCn7JAIycC39 L8Blnoa7abcvSJGThhzTb8atgGkop4A= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-499-EX_-wHRnOXGaoh0XjkGIOg-1; Fri, 4 Dec 2026 16:58:44 +0000 X-MC-Unique: EX_-wHRnOXGaoh0XjkGIOg-1 X-Mimecast-MFC-AGG-ID: EX_-wHRnOXGaoh0XjkGIOg_1796403523 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4a16dc2323cso9644075e9.3 for ; Fri, 04 Dec 2026 08:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1796403523; x=1797008323; darn=nongnu.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=021DAw8Hmj3pxOZbfra5j0/FRpBsL3Ov7XTeOA2fQbg=; b=gCKE4Q2HgCdcRNyF/ggyLk3YBaab3zJ7YfottYPX8z0AGhxBtlbLuDK1iLLLaRcPdw TEl+QrhOWGCNp9QN6fNPT8nOF/6G0k/ioL4iHdDLGlHa1P/bHv/FHmoKA5fIgucoGFz9 qjCTDeHXGIKnh9jOEWHxZ+I21/uzITF5dZwhERPfY2uBA/xMW50szal51aKtM35GP6Bq vqcpyajxr8BEzJHQuIfU2TZiY3WOI/OOmoCS6RFf2mHc7q6PiShMVFLaVBgIcCuj6cr9 huc2xg5VTM4XhbPsKmu/av/s4j0+SjX140I3tcEBi76jduhg1J9QGyBhrJFuaGIm9kpZ 3rIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796403523; x=1797008323; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=021DAw8Hmj3pxOZbfra5j0/FRpBsL3Ov7XTeOA2fQbg=; b=1zKjieYziRPBGq+q7vPwzItcnMdaLMLx5Xv6iZmCM02kDzePUi9eqfRRoMMuyymUJR zxUqTbYVlRTGhApKhJjxtVImNTwRy+TwJNzi9Ew1oBGh43SVOX7E9st9Tuij7GElDoBz oP96gLkPEpINlTMtervo9SJiAfEDesN4KPLH7LVB4aJoO81IaR69Ll6vlrUJhgZ4HOeM bcmqwh2JpRFv9Xdw9SfJ/XyRwXDgS0tw3tgRLBQ0uiWaDnZJiG3fP9XdV5+6CIg3U3jS kwAc1fBA6HV1U/KXd2l5ZTCAJDY7C3jJRzSdKRheiUYHMoSExj6UmsOpmO/IfSrjBmNB wEDQ== X-Gm-Message-State: APuU4Z/EL5CkOkskSWVRgPj/qDZy496pcLPOERFX+QhwCJQG7qfcJEKY yOQOzIau9O2XbGYSoyygM/rt1Ucn3bW9dHgh9lg4oHc3qThqtyn8b/D/sZXodClQw9lFShmmWyB IlbSSSmTsu50CMjEdv3BcwhitxhTBagcWsMi47cTYkAYVlEuRrP/cBlTI X-Gm-Gg: AZFdTZdyBg1VXkyCYu/q8VuI3+TX+LpMDDUhp2ePzkZIG3gg3mZ/HgxivzJny7AO5Pa kTk0EAqm9tqjiMmLcKc3DhUdJL0QqNcK+XapLdgb2ZTJXGRLlson15qGqLSHxedery/Tx8jLVS+ sFPSRarShiSemQ8g9ju4TCtxwP+LF0sbYQ+L7TrWkutA+yJL5yUKgdkkGtckaJSiX9iUghd/mQc XWSoH3tEqKKt2cN9slIg3Gtcmh4sZWDJU7e1qTqKrmvGxo/M7vyRb6DGmd/fj5z2B+XsBnnWLeW fsclMLqz0VslDtP7IruAZi2IETFgcnDnyWOFNUICYOF0HANerK2q7j+WovE5QKfHbTpLz2aLN7K XgeU+2fbUND+sGgUzF/gL8OceCJ8b29JXCVr6fMUH9g== X-Received: by 2002:a05:600c:8b11:b0:4a1:9661:14b5 with SMTP id 5b1f17b1804b1-4bbeb8c036fmr46110495e9.29.1796403523069; Fri, 04 Dec 2026 08:58:43 -0800 (PST) X-Received: by 2002:a05:600c:8b11:b0:4a1:9661:14b5 with SMTP id 5b1f17b1804b1-4bbeb8c036fmr46110135e9.29.1796403522534; Fri, 04 Dec 2026 08:58:42 -0800 (PST) Received: from redhat.com ([2a0d:6fc0:153a:4c00:6468:7acf:febf:a046]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d1723b8aadsm6359973f8f.18.2026.12.04.08.58.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 08:58:41 -0800 (PST) Date: Fri, 4 Dec 2026 11:58:39 -0500 From: "Michael S. Tsirkin" To: Daniel =?iso-8859-1?Q?P=2E_Berrang=E9?= Cc: qemu-devel@nongnu.org, Peter Maydell , "Gonglei (Arei)" Subject: Re: [PATCH for-11.2] hw/virtio: don't mark virtio-crypto as secure Message-ID: <20261204115817-mutt-send-email-mst@kernel.org> References: <20261204111126.798503-1-berrange@redhat.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20261204111126.798503-1-berrange@redhat.com> Received-SPF: pass client-ip=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.142, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-16.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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é Acked-by: Michael S. Tsirkin 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