From nobody Sat May 18 06:31:41 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1675792227; cv=none; d=zohomail.com; s=zohoarc; b=RXL+t7HOapJabn+1cuZShTvI7rkQ73qjSS8jC1csxVmY4ZZfo9HG+zlr8kaXIK1g3COGce3HpLLzB/puVrne/PYkeHBUzxh2rWKwcewXhvxTUSJOLXPmst3u3ya9JRDvGWsapdqSDkeC7WfRqfFk88SHlptOFPT4oiyWR/JsOXM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675792227; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=9Fc5ve2HitVoG8eAdYKdUUo7A0a6G2jpLgQnR5sQYik=; b=O1ZBiFexakmVqlzyDyWJWumW/uiw/T32O5v8wpvnJFxLA4yiEPFnAFYfIW1ZaEBjtRgBG2RHsWbE6rd+vgfo1D9qx83qKZ0jB183omtLlhcHjzh33Ji8Op+nXS5mIvCXfFxltw1Af2mnmtffcDnteNPzsbBhrCERttJPzqo4bbs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1675792227418149.09558455432864; Tue, 7 Feb 2023 09:50:27 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPS6Q-0005Yd-5L; Tue, 07 Feb 2023 12:49:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pPS6O-0005YS-PN for qemu-devel@nongnu.org; Tue, 07 Feb 2023 12:49:56 -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 1pPS6N-0006hX-0U for qemu-devel@nongnu.org; Tue, 07 Feb 2023 12:49:56 -0500 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-647-QZr119ryNHOePOeka055cA-1; Tue, 07 Feb 2023 12:49:51 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 77419811E6E; Tue, 7 Feb 2023 17:49:50 +0000 (UTC) Received: from dgilbert-t580.localhost (unknown [10.33.36.161]) by smtp.corp.redhat.com (Postfix) with ESMTP id A15A91121314; Tue, 7 Feb 2023 17:49:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675792194; 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; bh=9Fc5ve2HitVoG8eAdYKdUUo7A0a6G2jpLgQnR5sQYik=; b=T+bSyV4zydTv9Xx9IdRHMDp7fjrXo8bsS9XDUf5o52prjuwyPbi414MN1wzRsvSGmc5ban j1IUXYObAKMko35Hg/xYzsxpadxiZv60W8JfLHNZUecotvEhIO66UgSLwHyal29JjfcbtT Deo5gikK9wHS1giP3UwygYh3I0D7zD8= X-MC-Unique: QZr119ryNHOePOeka055cA-1 From: "Dr. David Alan Gilbert (git)" To: qemu-devel@nongnu.org, mst@redhat.com, thuth@redhat.com, philmd@linaro.org Cc: david.daney@fungible.com Subject: [PATCH] virtio-rng-pci: fix transitional migration compat for vectors Date: Tue, 7 Feb 2023 17:49:44 +0000 Message-Id: <20230207174944.138255-1-dgilbert@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=dgilbert@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1675792229643100007 Content-Type: text/plain; charset="utf-8" From: "Dr. David Alan Gilbert" In bad9c5a5166fd5e3a892b7b0477cf2f4bd3a959a I fixed the virito-rng-pci migration compatibility, but it was discovered that we also need to fix the other aliases of the device for the transitional cases. Fixes: 9ea02e8f1 ('virtio-rng-pci: Allow setting nvectors, so we can use MS= I-X') bz: https://bugzilla.redhat.com/show_bug.cgi?id=3D2162569 Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- hw/core/machine.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/core/machine.c b/hw/core/machine.c index b5cd42cd8c..4627b274d9 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -49,6 +49,8 @@ const size_t hw_compat_7_2_len =3D G_N_ELEMENTS(hw_compat= _7_2); GlobalProperty hw_compat_7_1[] =3D { { "virtio-device", "queue_reset", "false" }, { "virtio-rng-pci", "vectors", "0" }, + { "virtio-rng-pci-transitional", "vectors", "0" }, + { "virtio-rng-pci-non-transitional", "vectors", "0" }, }; const size_t hw_compat_7_1_len =3D G_N_ELEMENTS(hw_compat_7_1); =20 --=20 2.39.1