From patchwork Fri May 2 18:56:32 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: 886629 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp960853wrq; Fri, 2 May 2025 11:58:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWn/7NKz4XLAloaeils6QcnPfiHMTOc23aeByS1Urmur4MuMoAAuOnGJK2Jb1TveRFp939IkQ==@linaro.org X-Google-Smtp-Source: AGHT+IG++RvNkZrHam3rE1YSmnDNsCPh5E9b4cMbimhG+uztwelQ0GvcQUkRx1S/T+Dvs4AZZ+Hw X-Received: by 2002:a05:620a:c4e:b0:7c9:5501:80d2 with SMTP id af79cd13be357-7cad5b35a28mr451565785a.15.1746212285950; Fri, 02 May 2025 11:58:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746212285; cv=none; d=google.com; s=arc-20240605; b=kWo7BLrOLd8nkAO5QLVWa+Y8tUWDEg7kc0C0nzLOB0ps/KfYkJ9+mvL1LmqgK/tZuw DOPhlJ1KW0v2jgAYGXwkvMFNM/ZU/EG38qt8kZoANpYwBb37bf9RVVS/KZSnpHoECoB2 3Noy10pvLkrR7ee2hsWPguz/xIvs4ii4wHelQUSaE8JBZFRmwGjHuXQ0ycWRfA+SFLTo nOxFLnpCnkmDL/WzGWxxDnHWOL6ppjFbVLk6PGtVMILFynr4BAjFeo/jlFcCFCPgWpvD ir1vOc300pRkUSB1kpMCRQDvYkNeYWwWKfRDbXxkr2LwFne7Zao/qHInpzZ3pNJKHrhq 2KDg== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=Kyc7aSZr1tLI5wvlueRbX9aGSN3XilRcqQ3b7eltrqM=; fh=Mi6rIaSWSDxP/DH2kogK8jGulyKPJuFbWNIs/qeUzeE=; b=bKD98o3vzt5X8VYjeZisYLZCQ3Vce6pydvsDXVOJHBZTxDSPKSwThV48xTcRpBgT9p 44sRuQZbXmLdrUsaZtGWlNy4ycrTPSKdIQ0hDdNtCJDHbCR4gL7WKiEB6Hc/sl3WA2A3 t8dJBruijUlfZ9n5UlGXuKNDb8IeeBc9ceeOIFkuQJR61ls0yzfaVXCZwEH6ix2tMwZF 00umSa3wc9ZeRokfjXftEquzU2i9p2mmOScFT3bLhZsFH0aSO3dRu5brtdMUuklfDVT4 Yxa2HQpQTRN9NZzPyVqPKQ5f4KIhttUmOoVVHWhXGD04tsvRmk4lHVa71T08SgsZRxMP xImQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tqTgNbjG; 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-7cad2434f83si377034085a.418.2025.05.02.11.58.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 May 2025 11:58:05 -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=tqTgNbjG; 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 1uAvZH-0004TB-Gs; Fri, 02 May 2025 14:57:03 -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 1uAvZD-0004Oz-CE for qemu-devel@nongnu.org; Fri, 02 May 2025 14:56:59 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAvZB-0005M2-IC for qemu-devel@nongnu.org; Fri, 02 May 2025 14:56:59 -0400 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5e5e8274a74so3660180a12.1 for ; Fri, 02 May 2025 11:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746212215; x=1746817015; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Kyc7aSZr1tLI5wvlueRbX9aGSN3XilRcqQ3b7eltrqM=; b=tqTgNbjGI9ewJ1f45XsKY72CKl9Tzr9A2U/iaMMtz5a0ku9x3BxM2gt51qIcLN+bsy YguqbuxQBH1xL5bHDIKl8a0z3obTvLkQQecXG83bxYrD3g4CTki23yjTRNjQQG1L+VlW XgzsaB9Q5OHyH41bI68t9YQAqeq7QfUh/ZyM3CrxGsLtqu82OqsZ1qenPkOdd8TsXYuP ZNpImIB/DfwEcJuCQjiL6ILeNsE55siIZbB9MTboaXOD3gK9uNdYYdm+YXOgwu4FGmMp hdZnTXCXwT61ikqodgzKkXsChBn5LPndCZ4IDBAsh/F7S0Qni02g8VYqe0Nll8Ljjf9E tkzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746212215; x=1746817015; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Kyc7aSZr1tLI5wvlueRbX9aGSN3XilRcqQ3b7eltrqM=; b=erS8rLJtgMmBp3OP+vqd2IYUOisOjxzq1Ao64k3C6sSlQkYvEGRASt3YoV6fuxGcSp T3Yi5H1APXmxxEstrU1UJuBKvvwRY2fTX+rqxeybSVPxA+se08DJgo4eDjpynSRPI/Dp K4rzFemn6gRssfSvGdYgfBGK+J0wRvek01nZQd494XqxfL9B6c3DaIP1L9J0IZX0AbTr N76Ura35ya0cSNx6NGgqJSUBk9VRA3CS6wc+JVdOoQLXytK0mGzSHMXVlfjq7aBvCXdY eOh6vqMPYY6owA8XAUT+HVloNxdKE2DYnGsDFzw4DxmlBl9y+NFeizEdOeSyjS3khEux fpgw== X-Gm-Message-State: AOJu0YwRBRyiFLXusMRt3/DUwKV59XsuZ3Ct0fvZbq1nuqnwF+6iDfC4 wP7u7vh2E+eoT+bhlRojsMnN8gIV1dIxTnxJSAilXy0a2/zkTpYJMHs/xru2RusHfA4l+Su1ML0 S X-Gm-Gg: ASbGncsRcmBFnU6LCu4wJ7S0IPj6mUSfclWKwS8EGqqnyMXObETkGwBq8Ildr08oGkK arzDkm9IQgYPZ84zjkBSI/+iakRe5ojrFsesR0LI+bB/pxDPUvHtOybhzzIoEcZGzOe0Jz2c8Z5 Ht+pfPXA+8T+QQrlWxfDWo23pCEYtEkU55zn2oeYMyfQcg9znnkBYBdhZ5njXEOjopcSIoBJqeD PA3l268dAj/2eb3hVgWDCfqtOjNy1odZORZF2J9XMAlMWbzolJrABC+8zsRzOEyxTCbi6IVcsDl Qm4VJFih34nlr9ELXmkn7QqbanxuA0Px32MiUqEjl369UyT+HaWm4bxTGP3ltmWbv3Yr/YknQt9 WnB2zO0751ybxES1859kR X-Received: by 2002:a05:6402:518b:b0:5de:dfde:c8b1 with SMTP id 4fb4d7f45d1cf-5fa77fde6d8mr3137667a12.4.1746212215084; Fri, 02 May 2025 11:56: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 4fb4d7f45d1cf-5fa77816ffbsm1557324a12.34.2025.05.02.11.56.52 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 02 May 2025 11:56:54 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Laurent Vivier , Igor Mammedov , Huacai Chen , Amit Shah , Marcel Apfelbaum , Sergio Lopez , Ani Sinha , Paolo Bonzini , Eduardo Habkost , Jiaxun Yang , Jason Wang , Richard Henderson , Yanan Wang , Gerd Hoffmann , =?utf-8?q?Cl=C3=A9ment_Mathieu--Drif?= , Zhao Liu , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Yi Liu , "Michael S. Tsirkin" Subject: [PATCH v3 00/19] hw/i386/pc: Remove deprecated 2.6 and 2.7 PC machines Date: Fri, 2 May 2025 20:56:32 +0200 Message-ID: <20250502185652.67370-1-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=philmd@linaro.org; helo=mail-ed1-x531.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 Since v2: - Addressed Mark review comments and added his R-b tags The versioned 'pc' and 'q35' machines up to 2.12 been marked as deprecated two releases ago, and are older than 6 years, so according to our support policy we can remove them. This series only includes the 2.6 and 2.7 machines removal, as it is a big enough number of LoC removed. Rest will follow. Based-on: <20250429140825.25964-1-philmd@linaro.org> Philippe Mathieu-Daudé (19): hw/i386/pc: Remove deprecated pc-q35-2.6 and pc-i440fx-2.6 machines hw/i386/pc: Remove PCMachineClass::legacy_cpu_hotplug field hw/mips/loongson3_virt: Prefer using fw_cfg_init_mem() hw/nvram/fw_cfg: Factor fw_cfg_init_mem_internal() out hw/i386/x86: Remove X86MachineClass::fwcfg_dma_enabled field hw/nvram/fw_cfg: Remove fw_cfg_io_properties::dma_enabled hw/i386/pc: Remove pc_compat_2_6[] array hw/intc/apic: Remove APICCommonState::legacy_instance_id field hw/core/machine: Remove hw_compat_2_6[] array hw/virtio/virtio-mmio: Remove VirtIOMMIOProxy::format_transport_address field hw/i386/pc: Remove deprecated pc-q35-2.7 and pc-i440fx-2.7 machines hw/i386/pc: Remove pc_compat_2_7[] array hw/audio/pcspk: Remove PCSpkState::migrate field hw/core/machine: Remove hw_compat_2_7[] array hw/i386/intel_iommu: Remove IntelIOMMUState::buggy_eim field hw/intc/ioapic: Remove IOAPICCommonState::version field hw/virtio/virtio-pci: Remove VirtIOPCIProxy::ignore_backend_features field hw/char/virtio-serial: Do not expose the 'emergency-write' property hw/virtio/virtio-pci: Remove VIRTIO_PCI_FLAG_PAGE_PER_VQ definition hw/intc/ioapic_internal.h | 3 +- include/hw/acpi/cpu_hotplug.h | 3 - include/hw/boards.h | 6 - include/hw/i386/apic_internal.h | 1 - include/hw/i386/intel_iommu.h | 1 - include/hw/i386/pc.h | 9 -- include/hw/i386/x86.h | 2 - include/hw/virtio/virtio-mmio.h | 1 - include/hw/virtio/virtio-pci.h | 2 - include/hw/virtio/virtio-serial.h | 2 - hw/acpi/cpu_hotplug.c | 230 ------------------------------ hw/audio/pcspk.c | 10 -- hw/char/virtio-serial-bus.c | 9 +- hw/core/machine.c | 17 --- hw/display/virtio-vga.c | 10 -- hw/i386/acpi-build.c | 4 +- hw/i386/intel_iommu.c | 5 +- hw/i386/microvm.c | 3 - hw/i386/multiboot.c | 7 +- hw/i386/pc.c | 18 --- hw/i386/pc_piix.c | 23 --- hw/i386/pc_q35.c | 24 ---- hw/i386/x86-common.c | 3 +- hw/i386/x86.c | 2 - hw/intc/apic_common.c | 5 - hw/intc/ioapic.c | 18 +-- hw/intc/ioapic_common.c | 2 +- hw/mips/loongson3_virt.c | 2 +- hw/nvram/fw_cfg.c | 46 +++--- hw/virtio/virtio-mmio.c | 15 -- hw/virtio/virtio-pci.c | 12 +- 31 files changed, 37 insertions(+), 458 deletions(-)