From nobody Tue Feb 10 13:19:55 2026 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=quarantine dis=none) header.from=dupond.be ARC-Seal: i=1; a=rsa-sha256; t=1635936441; cv=none; d=zohomail.com; s=zohoarc; b=Y9V2LE3Nj7yrjIbyw/c+DZPa4hdjFteF2HIY4eea6lzuDG4R4mYt3t1r/1VifHBBIK5KPRUpYfGBlNnQG4klFh5qi62JO9fha4eMjNm+p4BdN8w5uCo69zXtdp1vucFA9H6mztOxS6kEUAJT/2cSRl23/844eRKHDRPOU5UfUG8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635936441; h=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=Lk8dVN5476VW8lCnEQBxcK403o6VQUdHc0vDrXYBJck=; b=Oa1mWqQsoz+BIJR/2loANmifIcyMvFBYcoCJ0jNvqBgYljqbzmC8w1Yukrj1fPi7DAs4EaKsZehYABdyXDPGmVVtq+gbZ9vSg3XP63adp4Ul/TCq95FGXI1sC3GGZuFj4Jv2sUrYs3gOzScCQIQ5KrrbpmCjNVigLNpH4ZlJPqA= 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=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1635936440771567.7990676546233; Wed, 3 Nov 2021 03:47:20 -0700 (PDT) Received: from localhost ([::1]:57666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miDnb-0000PF-3j for importer@patchew.org; Wed, 03 Nov 2021 06:47:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miDm9-00085G-3v for qemu-devel@nongnu.org; Wed, 03 Nov 2021 06:45:49 -0400 Received: from apollo.dupie.be ([51.159.20.238]:38004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miDm6-00069v-CV for qemu-devel@nongnu.org; Wed, 03 Nov 2021 06:45:48 -0400 Received: from localhost.localdomain (unknown [IPv6:2a02:a03f:fa8f:3301:eba1:a8ad:64a3:d6c8]) by apollo.dupie.be (Postfix) with ESMTPSA id 37830152106D; Wed, 3 Nov 2021 11:45:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dupond.be; s=dkim; t=1635936342; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Lk8dVN5476VW8lCnEQBxcK403o6VQUdHc0vDrXYBJck=; b=KXoqGaFwSmhIdcKhAE/AZ4KiA54M8cvs77fvfyNpTCN7bWkL41t/oFXjfhmOPUveaSzJmV h0YrhmANDKytLyliHLbUkPrQGlfZ3SIaS1CnIO7eafz49Fuam4o4WDbdcPez4TzP1u/BP+ 9199HqsKPfV/t26G4o8FgFkaTsf1bwMP/OnPBzYyyjlH6ivgx9Q/FiwBaELj1jIjRDEdB7 WjDWDjmMjihAZZsp38ecsYJCT/nAnEjdA47WAX7rPh2o5ZqMcycU4v7y5QH5Dw4c6InQNR 0Dyq0bGY9tH6rypEchCabW2Ko+1BFEct4lhIYO447vbt/YrUFko/wWuwl/r8vg== From: Jean-Louis Dupond To: qemu-devel@nongnu.org Cc: ehabkost@redhat.com, mst@redhat.com, Jean-Louis Dupond , Jason Wang , Cornelia Huck Subject: [PATCH] Fix virtio-net-pci* "vectors" compat Date: Wed, 3 Nov 2021 11:45:14 +0100 Message-Id: <20211103104514.20434-1-jean-louis@dupond.be> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=51.159.20.238; envelope-from=jean-louis@dupond.be; helo=apollo.dupie.be 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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" X-ZohoMail-DKIM: pass (identity @dupond.be) X-ZM-MESSAGEID: 1635936443780100001 Content-Type: text/plain; charset="utf-8" From: Eduardo Habkost hw_compat_5_2 has an issue: it affects only "virtio-net-pci" but not "virtio-net-pci-transitional" and "virtio-net-pci-non-transitional". The solution is to use the "virtio-net-pci-base" type in compat_props. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=3D1999141 Signed-off-by: Eduardo Habkost Signed-off-by: Jean-Louis Dupond Acked-by: Jason Wang Acked-by: Jean-Louis Dupond Reviewed-by: Cornelia Huck --- hw/core/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/machine.c b/hw/core/machine.c index e24e3e27db..b17a15508c 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -56,7 +56,7 @@ GlobalProperty hw_compat_5_2[] =3D { { "ICH9-LPC", "smm-compat", "on"}, { "PIIX4_PM", "smm-compat", "on"}, { "virtio-blk-device", "report-discard-granularity", "off" }, - { "virtio-net-pci", "vectors", "3"}, + { "virtio-net-pci-base", "vectors", "3"}, }; const size_t hw_compat_5_2_len =3D G_N_ELEMENTS(hw_compat_5_2); =20 --=20 2.33.1