From nobody Sun Apr 12 07:21:49 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1770907679; cv=none; d=zohomail.com; s=zohoarc; b=D5K/2gzIsK5fYgFDeIyn7RL54sFMFE4LGKvT/Lg8joH7K0YGAphIpeq9LrCkPOzGsK0O0Yh23647zHJmGkYVBob7XGRE2Qi/0owMiWNFO9+xnQbv65QtICsLn+XAc8waZmzZ/2Ho2xMb7REQw7KA8jUOcrrwCf30p67IzOoEV/4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770907679; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=g/BATMQ1KN5pWJq8a9yC9CIZttopA3VSwHRJBsr7m+k=; b=co3GUFrRKdr61HPYwVwtzcf/YBAxtI+B0lDJL74gVT6qo3yCvGnnAkGLKEGtXIm2rZ1nnLhR47EayUwEymXIDx2e8abKC1auSAS45mraaPjnLlno6hXNCPBpg5WKoGJQegWyWoHxqrRvtHegOk2+Y0SqNUfYGediq/bb/36Vt/0= 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 1770907679149745.3435192410873; Thu, 12 Feb 2026 06:47:59 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vqXvH-0005lA-Ck; Thu, 12 Feb 2026 09:44:03 -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 1vqXuz-0005O7-LD for qemu-devel@nongnu.org; Thu, 12 Feb 2026 09:43:48 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vqXur-00066L-MR for qemu-devel@nongnu.org; Thu, 12 Feb 2026 09:43:45 -0500 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-450-DaBHpZ-xNDm_KTlc8vvZwA-1; Thu, 12 Feb 2026 09:43:31 -0500 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-482eec44485so24802705e9.3 for ; Thu, 12 Feb 2026 06:43:31 -0800 (PST) Received: from [10.60.241.123] (nat-pool-mxp-t.redhat.com. [149.6.153.186]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4834d8334a8sm204685175e9.12.2026.02.12.06.43.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Feb 2026 06:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770907412; 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=g/BATMQ1KN5pWJq8a9yC9CIZttopA3VSwHRJBsr7m+k=; b=OjN6t3Ko5Wtrfw9ipocX8SqK7hg0t/8LvCbU34xMa5mlsLFH5JQwByollUrnxtUkvDeVzC tZ5cVYQf9VCuxrt0so92rnwGHLPvbBSfjCpAWGMrX7UoETEjOonBagjT5hsPaLLAofqHrj VpOYB2hcYKAjliNg8WR2lKEMR9OEyWM= X-MC-Unique: DaBHpZ-xNDm_KTlc8vvZwA-1 X-Mimecast-MFC-AGG-ID: DaBHpZ-xNDm_KTlc8vvZwA_1770907410 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1770907409; x=1771512209; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=g/BATMQ1KN5pWJq8a9yC9CIZttopA3VSwHRJBsr7m+k=; b=Ko2OuYtzngI+FIC9kyndSQyiTn03T8tBEK1xsS7eZJZCKPW/cn5/a6vzTXOfmPBJs/ qZziTyoxKM+p9xoVd82C8qlG+2XdOW1bVQ1DbTM93TXnOisOW7yBr24Ar6Pa6JQxnPBu X5SpmOmctTCfqCuCSHMs3U9kaToj/E0T2WlYzFGqIbcfd0xbcpqnYTprnidF6iS+qzp9 nDo2pHw/o5aT4Cgm9Z6sv2VtYpnJ8LUjuwBHVXVMrDt2Te785/hnnvLwXRIiM8vUvvgv /AOyo/tv1zzg1hVVO1XnDm9gzsc4NJ8hVS3BiXm4wvpUQsG6efy8vOx3LRUm6ISZeo45 yWdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770907409; x=1771512209; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=g/BATMQ1KN5pWJq8a9yC9CIZttopA3VSwHRJBsr7m+k=; b=oHuTB2/k+XqbmwhQPgCqPAfBiMDz7et5wHO2PGjCRpytiTSjCIQ98KgkJPHC+go69d VxB/OJI1GjkbetIiNtDmT381wFmTW3mn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804b1-48367113facmr34912345e9.9.1770907409311; Thu, 12 Feb 2026 06:43:29 -0800 (PST) X-Received: by 2002:a05:600c:621b:b0:480:6ab1:ed0d with SMTP id 5b1f17b1804b1-48367113facmr34911885e9.9.1770907408808; Thu, 12 Feb 2026 06:43:28 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Mark Cave-Ayland , Thomas Huth , Zhao Liu , Igor Mammedov Subject: [PULL 19/41] hw/core/machine: Remove hw_compat_2_6[] array Date: Thu, 12 Feb 2026 15:42:21 +0100 Message-ID: <20260212144244.22579-20-pbonzini@redhat.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260212144244.22579-1-pbonzini@redhat.com> References: <20260212144244.22579-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=170.10.133.124; envelope-from=pbonzini@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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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-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: 1770907679620158500 From: Philippe Mathieu-Daud=C3=A9 The hw_compat_2_6[] array was only used by the pc-q35-2.6 and pc-i440fx-2.6 machines, which got removed. Remove it. Reviewed-by: Mark Cave-Ayland Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Reviewed-by: Igor Mammedov Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Zhao Liu Link: https://lore.kernel.org/r/20260108033051.777361-19-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini --- include/hw/core/boards.h | 3 --- hw/core/machine.c | 8 -------- 2 files changed, 11 deletions(-) diff --git a/include/hw/core/boards.h b/include/hw/core/boards.h index 07f89387525..d6ff9f3d233 100644 --- a/include/hw/core/boards.h +++ b/include/hw/core/boards.h @@ -885,7 +885,4 @@ extern const size_t hw_compat_2_8_len; extern GlobalProperty hw_compat_2_7[]; extern const size_t hw_compat_2_7_len; =20 -extern GlobalProperty hw_compat_2_6[]; -extern const size_t hw_compat_2_6_len; - #endif diff --git a/hw/core/machine.c b/hw/core/machine.c index 6411e68856b..2664848c2b0 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -293,14 +293,6 @@ GlobalProperty hw_compat_2_7[] =3D { }; const size_t hw_compat_2_7_len =3D G_N_ELEMENTS(hw_compat_2_7); =20 -GlobalProperty hw_compat_2_6[] =3D { - { "virtio-mmio", "format_transport_address", "off" }, - /* Optional because not all virtio-pci devices support legacy mode */ - { "virtio-pci", "disable-modern", "on", .optional =3D true }, - { "virtio-pci", "disable-legacy", "off", .optional =3D true }, -}; -const size_t hw_compat_2_6_len =3D G_N_ELEMENTS(hw_compat_2_6); - MachineState *current_machine; =20 static char *machine_get_kernel(Object *obj, Error **errp) --=20 2.52.0