From patchwork Thu May 1 18:36:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 886362 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp464390wrq; Thu, 1 May 2025 11:40:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWPmhDAQaS2667H9FkP+W8PzxKj5pFk6dqH+3wSFG7o0hBO7CfKeSp5gGTFYk00tUIzd8in2Q==@linaro.org X-Google-Smtp-Source: AGHT+IHy5w+6G1fUD6eGLXWIooH1rl6ZXyf+9ecaO8NTkc/02UoxzE2CJH2+cd0g8iFYY0SoEBH6 X-Received: by 2002:a05:620a:25d1:b0:7c5:6a40:6a7a with SMTP id af79cd13be357-7cace96e8f6mr501330085a.6.1746124856781; Thu, 01 May 2025 11:40:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746124856; cv=none; d=google.com; s=arc-20240605; b=SKiVjnuLiJzQkCkJtlrre47fdohNcalRYQnUHSzNF7HJdNSC+kuobCvHGKjvgsZim9 QaFJzwCRCJ4SypsEgam0r/O7o0gCJQpyjTj4kzKkhvn/kSC+wJx+Qwvd+Vlyx2QlwLSm cOfU8S+v19UXzQ6jwS1RRVCU9LIfgU1iIp+zk7Yg6tOM0tqQnV0KTmVjigykQ0ec/3ox /3JFcZlL6UqHEUUdLOt1hddNBQNM0EmwrswSALpnevJzhh28LLdDEfGOtfR2JOQiC1gl Tvv9cr7iUlg+7PIv8ehnX3ZBp1ufahs4Dzw3RZ4TWjQifc6jbIc8NRcneHwq5IQDPbH2 nkWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rVL17Qw9Pu2E631HFpa6VOArtgxoydyEsXC8wSAHBfg=; fh=hoe06aprcDnk5P3d0vwgQt6uC5al0E2l9mfTIGTxZjA=; b=MDpoihNUNYo6BMDmfpgaaB2njiHJXML1DskUoGRizWu16gIMv2OeKYdMD7onEc9Qip IY+uaRaaaZ9uW6GFkePPr2vs95dzO7E4U7iFsCFeEnLyW+Cfhg9/q+jhUW2guW1ocORV R31pO/oRs1qKcmwZFOkuZoxlCVFdnJnv7PZAS2JJsC7WGOFhZOfm6peesZ4DAnIQFlIg PSMqrPjYh66mKoefAMnoWnPYog0+a2umnFE5ehsecUgB/tJMXa7odcl2q/+RZNyWp8cb wO76MIoARulwj9gG8b6MtDTYKlUh00rtvss7CyqD46GNd2Nx2P594A2sFfu+UDpfUgRY mYTw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BAd41zSk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7cad23ba88fsi119268685a.29.2025.05.01.11.40.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 May 2025 11:40:56 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BAd41zSk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uAYno-0002PS-Cj; Thu, 01 May 2025 14:38:33 -0400 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 1uAYnH-0000KZ-PA for qemu-devel@nongnu.org; Thu, 01 May 2025 14:38:03 -0400 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAYnE-0008Ad-K2 for qemu-devel@nongnu.org; Thu, 01 May 2025 14:37:58 -0400 Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-85ea482e3adso82855639f.0 for ; Thu, 01 May 2025 11:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746124675; x=1746729475; 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=rVL17Qw9Pu2E631HFpa6VOArtgxoydyEsXC8wSAHBfg=; b=BAd41zSkDlk74zr7cp5pRMBxqxvCoQYA+zScB5mrYS3sQ0Goe1IlARGtIHIXwqJwY3 sOJncMeISF1mGy3fN650UOL51EbsIgbB4Z+3eAAH23w78eGBI/6QtPiLZLWo35odfMy2 zua3n9enr1ytPFoDj6IH4W7oQUJp+9L1Hj/dO8cidQz5WEQUDDYsKbx2GT1zPSvvQxV/ G/rijq8O+dRMf0cojqeNdjzE/orsgyFm452QN2GHYso0qIdGvakz7TP+yb8WbHlWfKFk aCO4fIxeWmtK/I1/O0TNzblWJVydR9s1BnsnHAKCYgQsxebQiyocCtf1xWoHxLqpZYx9 Evsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746124675; x=1746729475; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rVL17Qw9Pu2E631HFpa6VOArtgxoydyEsXC8wSAHBfg=; b=Tid5GDF0y1iYsCj2TNgIaGaP1ylAhdWPDouvVh20hekzLqJ6Uq5r41v1ilmt/35Y48 S4uBcl91I7eQslbkxlKExJFblcEmoPGR7uYrCyHj3D/mmI2tuseY5tptO2M/mG73IPjD NgrEgHe6iOpKvFkW8ptVieWEm1N/topRhAyLpzoUqGPJunrlVz8jvaEUjHEJG887cruJ 2XLydb0gVPdwDtC1NYHvh55B/J4gvHltNdx3E5gX7VynGeaCLC0E+bXKY35oVX49z/QD E9JY8K3WD17S6Y1SJopl+OXbBDXYiQjRBzRp1AhYFKJLTohes167VH1HJY5w1nM/qSAw 9o2A== X-Gm-Message-State: AOJu0YyfHjUY1HuzixSidUQmJtqBvjrkvuk4EhFSnN4Am66wcElfHsKE FAwZHquerMTstR9n0Xuypta87/DqjtJfOD+bNOvny3ILLs394VFDh+5bsMe1jF/nfSQYQ9wq0ET w X-Gm-Gg: ASbGncutZY9Mv9ye6zlHy/fxybVZ2aR5gopeXedP9teJDu3EBtAxAzu3NIPBBCtuUMZ avsIwavE253ZKtaHZ3FbO9Nv+iIjJPD1cuckhuh7v5+d6Sd1V+x1O33+aHLd4ma+Urp+SQar1iU IISiyCSS2L4PWoAt5JObAn1GHoetaprcXYfEZKGjjON4EXvVU2OQw7xUQMuqG5NdVn/R8Nqqyvb KJgr7jcWKZsGmIP92RDQfrza07y+TNk85fTmOHjWPaS08rPN6vShRuV8N5Vw36R9ng5KjyRxkq7 2hK2eIrtvbCaj0do3YAFhfxo7jo4JcTMD1w/Ro5eNOxLqxr9SzAlFWBPcy3aKOL2IsjuaGHJw+m UizsM+srYvdO/6GJUbhd2 X-Received: by 2002:a05:6e02:1211:b0:3d4:346e:8d49 with SMTP id e9e14a558f8ab-3d970b7753cmr37711295ab.9.1746124675173; Thu, 01 May 2025 11:37:55 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4f88303c055sm303070173.138.2025.05.01.11.37.51 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 01 May 2025 11:37:54 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Igor Mammedov , Gerd Hoffmann , =?utf-8?q?Cl=C3=A9ment_Mathieu--Drif?= , Yi Liu , Paolo Bonzini , Amit Shah , Zhao Liu , "Michael S. Tsirkin" , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Richard Henderson , Sergio Lopez , Laurent Vivier , Jason Wang , Eduardo Habkost , Yanan Wang , Marcel Apfelbaum , Ani Sinha , Thomas Huth Subject: [PATCH v2 09/16] hw/i386/pc: Remove pc_compat_2_7[] array Date: Thu, 1 May 2025 20:36:21 +0200 Message-ID: <20250501183628.87479-10-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250501183628.87479-1-philmd@linaro.org> References: <20250501183628.87479-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::d2d; envelope-from=philmd@linaro.org; helo=mail-io1-xd2d.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The pc_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é Reviewed-by: Mark Cave-Ayland --- include/hw/i386/pc.h | 3 --- hw/i386/pc.c | 10 ---------- 2 files changed, 13 deletions(-) diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 4fb2033bc54..319ec82f709 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -289,9 +289,6 @@ extern const size_t pc_compat_2_9_len; extern GlobalProperty pc_compat_2_8[]; extern const size_t pc_compat_2_8_len; -extern GlobalProperty pc_compat_2_7[]; -extern const size_t pc_compat_2_7_len; - #define DEFINE_PC_MACHINE(suffix, namestr, initfn, optsfn) \ static void pc_machine_##suffix##_class_init(ObjectClass *oc, \ const void *data) \ diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 7573b880905..ee7095c89a8 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -241,16 +241,6 @@ GlobalProperty pc_compat_2_8[] = { }; const size_t pc_compat_2_8_len = G_N_ELEMENTS(pc_compat_2_8); -GlobalProperty pc_compat_2_7[] = { - { TYPE_X86_CPU, "l3-cache", "off" }, - { TYPE_X86_CPU, "full-cpuid-auto-level", "off" }, - { "Opteron_G3" "-" TYPE_X86_CPU, "family", "15" }, - { "Opteron_G3" "-" TYPE_X86_CPU, "model", "6" }, - { "Opteron_G3" "-" TYPE_X86_CPU, "stepping", "1" }, - { "isa-pcspk", "migrate", "off" }, -}; -const size_t pc_compat_2_7_len = G_N_ELEMENTS(pc_compat_2_7); - /* * @PC_FW_DATA: * Size of the chunk of memory at the top of RAM for the BIOS ACPI tables