From nobody Fri Dec 12 14:07:49 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; 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=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1764691779; cv=none; d=zohomail.com; s=zohoarc; b=YM9Gc4naFAIB4rohsRK2D1CjjEd78G0iHdoRywfO8mEtdqNDqYHDGDN5Zp750CIq2PC2TMZFGajI6iExjeGLMlT+uIC1UgRKaK0gkRPK3VtAj/1SDZMcypvz0uz/0/x5bE+HgKfBf2hw99qpLnUYGWaQeqH10DvByRpJHgejHFU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1764691779; 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=OjQMhMakGsaQc1HY5faCnmF+zZgRyZyN42aQW7091eA=; b=jWnFDaegHh9C8HPHj682ZUeC726ppaMB5Zi+arHvI/FkU4EbGMYquPB0eB/BQZneqOOBkQ7LKotg8VtJvB1arD6uMs8K5L9oDGdDK90pd3SLRsIRarsCbItq9/OBnp89PvX7xQG/chqcfKZ1Us0RD7wget40pgh4R7Ocz/IAC+Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; 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 1764691779746849.8223696855032; Tue, 2 Dec 2025 08:09:39 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vQSwS-0005NX-4P; Tue, 02 Dec 2025 11:09:30 -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 1vQSv0-0004Mg-Sm; Tue, 02 Dec 2025 11:08:03 -0500 Received: from mgamail.intel.com ([192.198.163.7]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vQSuy-0008HR-UO; Tue, 02 Dec 2025 11:07:58 -0500 Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2025 08:07:55 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.39]) by orviesa005.jf.intel.com with ESMTP; 02 Dec 2025 08:07:46 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1764691677; x=1796227677; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5aMN8j2k0jbBB+u6F2rOOGgMnpKfY0T/yj0eYFmhIkQ=; b=OlnXSeAOB43g/cN3SDSuVp/scsq5t2j1qmgvqkPuJGqq4peMln42Wk8h +582pFdqil1pFZ2W8sxaRa5bv3YUM+6ezrsAD9BTycQBJs72TleIuNPMR Dl/fXfUj8WBLM43TMo7IpYefqqR2LCs4Aae9F97QET4b4rw7vJbzph/qW G7tWUK5QJb/ed2frsFfxp4x6FS2wJKjgU88SMsHubgn5EeZwWJ4QSvrHw DRL6G0hDKP1kdMywge8h+F9GGg6bU6COKthzfpOxS6fQ1UHQPdBbY8JwB kdtgZGWYtUNstLX6geV4MKimuSDHczwskle30cS2XSEN3DRZev1cmozD6 A==; X-CSE-ConnectionGUID: 2eZLGso/StCsj2iWGI29/g== X-CSE-MsgGUID: bJ8Mr9qsS3WUNq5slEDaQQ== X-IronPort-AV: E=McAfee;i="6800,10657,11630"; a="92143090" X-IronPort-AV: E=Sophos;i="6.20,243,1758610800"; d="scan'208";a="92143090" X-CSE-ConnectionGUID: 2B2P08tKQPuT42NQAFVwrA== X-CSE-MsgGUID: FBX7bwLTQCK847S3QDva3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,243,1758610800"; d="scan'208";a="199537963" From: Zhao Liu To: Paolo Bonzini , "Michael S . Tsirkin" , Igor Mammedov , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Marcel Apfelbaum , Thomas Huth Cc: qemu-devel@nongnu.org, devel@lists.libvirt.org, kvm@vger.kernel.org, qemu-riscv@nongnu.org, qemu-arm@nongnu.org, Richard Henderson , Sergio Lopez , Gerd Hoffmann , Peter Maydell , Laurent Vivier , Jiaxun Yang , Yi Liu , Eduardo Habkost , Alistair Francis , Daniel Henrique Barboza , Marcelo Tosatti , Weiwei Li , Amit Shah , Xiaoyao Li , Yanan Wang , Helge Deller , Palmer Dabbelt , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Ani Sinha , Fabiano Rosas , Liu Zhiwei , =?UTF-8?q?Cl=C3=A9ment=20Mathieu--Drif?= , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Huacai Chen , Jason Wang , Mark Cave-Ayland , BALATON Zoltan , Peter Krempa , Jiri Denemark , Zhao Liu Subject: [PATCH v5 25/28] hw/core/machine: Remove hw_compat_2_7[] array Date: Wed, 3 Dec 2025 00:28:32 +0800 Message-Id: <20251202162835.3227894-26-zhao1.liu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20251202162835.3227894-1-zhao1.liu@intel.com> References: <20251202162835.3227894-1-zhao1.liu@intel.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=192.198.163.7; envelope-from=zhao1.liu@intel.com; helo=mgamail.intel.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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 @intel.com) X-ZM-MESSAGEID: 1764691785389019200 From: Philippe Mathieu-Daud=C3=A9 The hw_compat_2_7[] array was only used by the pc-q35-2.7 and pc-i440fx-2.7 machines, which got removed. Remove it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Mark Cave-Ayland Reviewed-by: Zhao Liu Signed-off-by: Zhao Liu --- hw/core/machine.c | 9 --------- include/hw/boards.h | 3 --- 2 files changed, 12 deletions(-) diff --git a/hw/core/machine.c b/hw/core/machine.c index 0b10adb5d538..f3e9346965c3 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -281,15 +281,6 @@ GlobalProperty hw_compat_2_8[] =3D { }; const size_t hw_compat_2_8_len =3D G_N_ELEMENTS(hw_compat_2_8); =20 -GlobalProperty hw_compat_2_7[] =3D { - { "virtio-pci", "page-per-vq", "on" }, - { "virtio-serial-device", "emergency-write", "off" }, - { "ioapic", "version", "0x11" }, - { "intel-iommu", "x-buggy-eim", "true" }, - { "virtio-pci", "x-ignore-backend-features", "on" }, -}; -const size_t hw_compat_2_7_len =3D G_N_ELEMENTS(hw_compat_2_7); - MachineState *current_machine; =20 static char *machine_get_kernel(Object *obj, Error **errp) diff --git a/include/hw/boards.h b/include/hw/boards.h index 5ddadbfd8a83..83b78b35f2bf 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -879,7 +879,4 @@ extern const size_t hw_compat_2_9_len; extern GlobalProperty hw_compat_2_8[]; extern const size_t hw_compat_2_8_len; =20 -extern GlobalProperty hw_compat_2_7[]; -extern const size_t hw_compat_2_7_len; - #endif --=20 2.34.1