From patchwork Thu May 1 18:36:23 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: 886358 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp464211wrq; Thu, 1 May 2025 11:40:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXv7pmqEUFDCSNjjbqghXz1gR6tx7RtVbXX/4fYa9H7OlygDB+snMsF5hKg4qCQ9EzKZTWNFg==@linaro.org X-Google-Smtp-Source: AGHT+IF3UPb5oXHOTU9drn89Ywcon4Q4W0R/xU7pQfa6SOvoJBfVLDof+m5RVx0JwiNbb7C2MXc/ X-Received: by 2002:a05:6214:20cc:b0:6f2:d45c:4a1d with SMTP id 6a1803df08f44-6f515613f50mr5707966d6.38.1746124828166; Thu, 01 May 2025 11:40:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746124828; cv=none; d=google.com; s=arc-20240605; b=SZ4UMODV0TmuFZWgZtf1YSzdlbatWj18WHVB4HjT4QnJ5c58iwqC8gkgCvngiKM96U 86wE8DRB7C7Q3FTxrZ7nKRlFfcRiJEKr4ZKb9y4PEJoK5qZO+D3dyB9NbdXoW16n+3oe Lu/3YUtwiL79WFGbkAJxs2MpqY4oxFZV9L9Bvj5U9If1ImTW4Lf7FaOhoI7M2CWXL7Mk 8I4gqA1lWH48d0kK8iE3GhWYFEkyByhGMUNknlEr56e9wVuyIZk0dPyUT1CncHJ7bC6z ym8FPt1OJPi+mS6jL0z4PCxBQuyk2KArr45rLp6LUi6LaQ0HbQmpGyUFE8eCL/38UFpT MXhg== 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=ZeBP6SMx5HnWyi7uG5Jn5cSUUcBtF9s2f1+jGOqbmJs=; fh=hoe06aprcDnk5P3d0vwgQt6uC5al0E2l9mfTIGTxZjA=; b=aSo47wUkaYuOnq4EIwzsVR52dbV0t5ZYdCNt1+uyttqIVh92hw/fMPPmRGqscfU5Dc IOZqaU3DEYfFbDWbEg6kIuJEGI1c2bziP6Mz1KuScdlarJqyUAygtTcXb3bdIw7xAmk9 Xu/ou9vpkcnFKRGVn5OWzMfEawBRLyI+xzg3KpXA8RnBZTaCmwZdvDDxHavaUTbonB04 UjMoQvuolSNlvAPVZ2EZ/76v/8R0x2I154q4lbRHGV//Dm9SKsNEzHoBIXOXVRv/pACZ 208eAoaOrtVZ2qgiVn0hDFr+zdT4z1OP4qR7uAfwNUOOmPmjGFh2f67QW80MsGiYMJd1 Vp1Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ba+PDTxD; 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 6a1803df08f44-6f50f476f96si12573426d6.205.2025.05.01.11.40.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 May 2025 11:40:28 -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=Ba+PDTxD; 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 1uAYok-0003EB-NS; Thu, 01 May 2025 14:39:31 -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 1uAYnX-0001B5-Qz for qemu-devel@nongnu.org; Thu, 01 May 2025 14:38:15 -0400 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAYnW-0008Fw-2O for qemu-devel@nongnu.org; Thu, 01 May 2025 14:38:15 -0400 Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-85de3e8d0adso31612839f.1 for ; Thu, 01 May 2025 11:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746124692; x=1746729492; 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=ZeBP6SMx5HnWyi7uG5Jn5cSUUcBtF9s2f1+jGOqbmJs=; b=Ba+PDTxDjB5Pf1sFZBTI2oJqVxnYTTTXDXmewb8BqJFT9RvYvizs4xjKzIrVm6xCs8 kPG34otRFOlDfYX6D/ft69djf4RTRJA+WBWAxHgGR0rXPXMvbRhuyrtmLL2vQ0gL+Erl yQP4czC/kh0klie7h27XNNIIEL0BWNfAxjr2TbqOoddlbzC9j7JoXm61nTk+vNPcGe+o EjhwJ8T+7h6lC0+jyTb4jPD6sqPsl4540BvhWrvalY/H6l1t6ZzkXjIsFHihQIWTTDcM g/ORgPMm/uxf3OpRZcw/Z8dFhJNVezQPHY2nKS27XjzB3p7dPGFCUsvtovLb0eCCPV2E Y0rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746124692; x=1746729492; 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=ZeBP6SMx5HnWyi7uG5Jn5cSUUcBtF9s2f1+jGOqbmJs=; b=Czp/GQeBsDuE8a5AxupVZKXbio/lZ1vC+HibXnBPDjhd8VKDnbWFHGCczPPyVyVJlY fyOS46Hr21BYfVnzaKGA23HGqOT5ZLQgeIOQ0H5NpwdSrYyBsMLkwAtsOL04PUEtGYKb 1nS2duywM/DtBkcC0g/vncU9ol21EXQrmOcMXQfgw+A7PwtwZ/nFAObtYQ0AulRACCGP jgyvuZQZFVNtmtSld+jhAAg/o0IA4wowL1ghd7EUrveQn+PIyPg8qKaZZdQr2QWKNLN/ LSGZWdkuZSALaXPHOfKAFqVR/nhvvl9wgxLpIwo+JkAXX/zIpIlgoGyY3KKXNISkv8wg 0cpw== X-Gm-Message-State: AOJu0YzU6VKjGp4sdwMjJYmRrk8JwOUyak0gy1pdEJtQGRV5h3IQ6uDp ZkVB+u6Pb6TUMndxamb51XXSuWNronq/VpZfYPKZL9LGSoCU7iN56RgnoaCYWfV4PXtin6zOnLd a X-Gm-Gg: ASbGncuzZa8qtyPi4ITFGyOyTctB9nAqPTQ6WgZWIIXpZkA9CJ1+wG0be6ewm/Fl1Yv WaPIcFvkD4D0aNyfWSyC15MLx98GmBUFtvI1dZSOyyVb82dx72YpNeOxXhWzWpEk2xUHsvETcK6 W8NO5vhsTP65s2hRzzY45JxsUZePomx3iqCEZ2daqD4OqIEfgMyjT2cU3K5AMtZGkQNs12gaVCK Jlpe88Waj2OY3K7RwbdcBUEkoZ5D2AqMiTMC345ZOG8syZjWbd001KmN7EbOXYD8FSCZVhVq6+B J0hySzeGger1x6xZUT62vLAiCdfiplUNync3CbCm8vjc+vh8Vj5tMol+LhM3TYuHtheX/t+GCpi hGx9yBiX2AsAkfVH7LD03wT7Z6vkO1Qo= X-Received: by 2002:a05:6602:401b:b0:864:68b0:60b3 with SMTP id ca18e2360f4ac-866b42504e4mr37684339f.12.1746124692487; Thu, 01 May 2025 11:38:12 -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-4f882eaee47sm306869173.2.2025.05.01.11.38.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 01 May 2025 11:38:12 -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 11/16] hw/core/machine: Remove hw_compat_2_7[] array Date: Thu, 1 May 2025 20:36:23 +0200 Message-ID: <20250501183628.87479-12-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::d29; envelope-from=philmd@linaro.org; helo=mail-io1-xd29.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 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é Reviewed-by: Mark Cave-Ayland --- include/hw/boards.h | 3 --- hw/core/machine.c | 9 --------- 2 files changed, 12 deletions(-) diff --git a/include/hw/boards.h b/include/hw/boards.h index a881db8e7d6..77707c4376a 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -838,7 +838,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; -extern GlobalProperty hw_compat_2_7[]; -extern const size_t hw_compat_2_7_len; - #endif diff --git a/hw/core/machine.c b/hw/core/machine.c index ce98820f277..bde19a2ff67 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -266,15 +266,6 @@ GlobalProperty hw_compat_2_8[] = { }; const size_t hw_compat_2_8_len = G_N_ELEMENTS(hw_compat_2_8); -GlobalProperty hw_compat_2_7[] = { - { "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 = G_N_ELEMENTS(hw_compat_2_7); - MachineState *current_machine; static char *machine_get_kernel(Object *obj, Error **errp)