From nobody Fri Apr 4 03:37:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739896012; cv=none; d=zohomail.com; s=zohoarc; b=MXG0w8uhs6g/aL3+KpjaN/1henu5zsS2nYkyDZLBns5Y+uhTtmMBU7w/r/XeGZCuyGhQ14TRdn2MyrsQldD0CsQy8BmQkSKr0abWEpZ81vKqk5m914F/Rrt6rG7lzxx/ugBeeeE/X1wt9ceoAddBI90xet/6R8esc+1xu3Md9Wo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739896012; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=4LIM0sFFVBkCbyArsjA9gzE/mDTxyAKavFGTWagdWog=; b=ly7vqvfxuJvXNWRQ2gDS4rt4FzzH3fuaIRaaqyt2SSFsqefp6qimhH1pc1vx9/hCThwWyYdt9DhGXSVtV5CrFzhNmsYNuHcsQ1i4LNcbbMkT78J5ZWhA1oaOup/0TnAOjOQ2kWSvg6+hb++eaBbdtS5FhRE7lV6APh1QhsDsD60= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1739896012106895.906152879257; Tue, 18 Feb 2025 08:26:52 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.891995.1301006 (Exim 4.92) (envelope-from ) id 1tkQQa-0004Gt-0B; Tue, 18 Feb 2025 16:26:32 +0000 Received: by outflank-mailman (output) from mailman id 891995.1301006; Tue, 18 Feb 2025 16:26:31 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQZ-0004Gk-Sx; Tue, 18 Feb 2025 16:26:31 +0000 Received: by outflank-mailman (input) for mailman id 891995; Tue, 18 Feb 2025 16:26:31 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQZ-0004Eu-4w for xen-devel@lists.xenproject.org; Tue, 18 Feb 2025 16:26:31 +0000 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [2a00:1450:4864:20::431]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 19b4f6dc-ee15-11ef-9896-31a8f345e629; Tue, 18 Feb 2025 17:26:26 +0100 (CET) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-38f3913569fso1792704f8f.1 for ; Tue, 18 Feb 2025 08:26:26 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38f259f7df2sm15426607f8f.84.2025.02.18.08.26.24 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 08:26:25 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 19b4f6dc-ee15-11ef-9896-31a8f345e629 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739895986; x=1740500786; darn=lists.xenproject.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=4LIM0sFFVBkCbyArsjA9gzE/mDTxyAKavFGTWagdWog=; b=MNM3C2mRRQlgmw7IeNslgbCmnw++T1QbAKgssmDKig/oOaKEJVToEYVXYA07d82DR0 OHU2QNKti/s0uCJjkRLJXYZIhankfhF4ukEK7+y3QCqI38j/IQ4TK6lBFf8sPZpD8zvx aVSYXDy9xGHzkzNGVxzt2n7zSr1PpuAqsalr9lrzuBWDPwYhSzw7HXWQq9GaE9j30ZiI qiQ8Eq/9lXU9MThcRtD4SibZ3ukW5LdUDWRMWJjG0RX9hVErG6DONylD/myF/CdEel+y zfQgbMDVfBvC21EqKb63LlsR5WxxA5Xxz3ttsxYwHaMnNUC63hDJSPmNPcn7fmjJucmK 2Npg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739895986; x=1740500786; 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=4LIM0sFFVBkCbyArsjA9gzE/mDTxyAKavFGTWagdWog=; b=B2SftUxvKT3uNfdx3cRdTcQLM2duY554uG0qzmVIGF/WVTj+gN4WDoHtb2VNu+nzIg rPqE+dw33NJESOq20YUReZ/WtfjeSMC24UzK8mPQ/QPnLKfbsPlPKqGQ3DTAoHKjZOF1 Oscvm22UDgSCQfVbXYv0TTNsJFkcxkrAncBh4FRY4ipQMHlF8a7E80ewnIihVy9qBhbt kDWP8rW6EiyJ9FGS8RA8a5dpvyZIDERFS0BlFmYxSOPPGV6gHqFbxme/xvhAnTuQapu7 M6xV4W31hgRlTIImpobSYlHNlMwn3L+HLMgwixVqTldzyig7maQ26xslZBbZHfjDdFza nRLw== X-Forwarded-Encrypted: i=1; AJvYcCWl7VYIm3Clb//2cG5qRktwgVwBLWuA38T2sXLTWkhIOeTc6bhhcl1jJDtPYujOcYU25/GsPY2TMko=@lists.xenproject.org X-Gm-Message-State: AOJu0Ywx0fY7VK8ayF7B0OQaR+6mNSWZRu9u/i4lkmhy6Cp7aa6jZ4In 3mads/HjHglTM3oWKCFE/HcGy1jyXHI2KSTfPZDxhx0+dVFYrMgCTRVLr1I1p8M= X-Gm-Gg: ASbGnctfy4PKJuA+HtiE9KIMXGPLNgCAUr20wJdJcHChhFrE+vmFqZp356zhI5gKeP1 Xw+ysJmKNueCzL3uLKel2Hf08cVCehb1nis4CFKhG49nOM4wpOY3MeKXdHX0Uj8PNdeTHhQOyVx LKb2HWfh6hhPzuzfg8oaUofu+Yr0kp5VCJjW6lAGLd0Y5fg5TqUOxwRlmfKjEs5IFHFa3BbxdvO 3zH2sUxpmsP6WH/VaFYhUhUTBgMduxIc9EERBavWz7NlvG8Sp3qUQg+Oi00OBTXKjLBBdvCdK5S 590vRbz/hAHzsX7jBuv9s0qPpQvWceX6hV8erq2pCoHkqVWWv2vMVAkveewQTELETQ== X-Google-Smtp-Source: AGHT+IGaFoLwpAXJM1RKXJyqOqbFhBQZJoShD8QgSKhjB3EukdihrG9J+ztpEYBn+Bs+2lZBx3sx+g== X-Received: by 2002:a05:6000:1fa1:b0:38d:c6b8:9fe1 with SMTP id ffacd0b85a97d-38f57ea1cfcmr360586f8f.24.1739895986072; Tue, 18 Feb 2025 08:26:26 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , xen-devel@lists.xenproject.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony PERARD , Stefano Stabellini , Paul Durrant , Andrew Cooper , Juergen Gross , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , David Woodhouse , Vikram Garhwal , Thomas Huth , Jan Beulich , Marcel Apfelbaum Subject: [PATCH 1/8] accel/Kconfig: Link XenPVH with GPEX PCIe bridge Date: Tue, 18 Feb 2025 17:26:11 +0100 Message-ID: <20250218162618.46167-2-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250218162618.46167-1-philmd@linaro.org> References: <20250218162618.46167-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1739896014020019000 XenPVH requires the PCIe/GPEX device. Add it to Kconfig to avoid when configuring using --without-default-devices: /usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-pvh-common.c.o: in fu= nction `xenpvh_gpex_init': hw/xen/xen-pvh-common.c:174: undefined reference to `gpex_set_irq_num' /usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-hvm-common.c.o: in fu= nction `pci_dev_bus_num': include/hw/pci/pci.h:337: undefined reference to `pci_bus_num' /usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to `pci_bus_nu= m' /usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to `pci_bus_nu= m' /usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to `pci_bus_nu= m' /usr/bin/ld: include/hw/pci/pci.h:337: undefined reference to `pci_bus_nu= m' /usr/bin/ld: libqemu-aarch64-softmmu.a.p/hw_xen_xen-hvm-common.c.o: in fu= nction `cpu_ioreq_config': hw/xen/xen-hvm-common.c:412: undefined reference to `pci_host_config_read= _common' /usr/bin/ld: hw/xen/xen-hvm-common.c:428: undefined reference to `pci_hos= t_config_read_common' /usr/bin/ld: hw/xen/xen-hvm-common.c:438: undefined reference to `pci_hos= t_config_write_common' Fixes: f22e598a72c ("hw/xen: pvh-common: Add support for creating PCIe/GPEX= ") Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Edgar E. Iglesias --- accel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/accel/Kconfig b/accel/Kconfig index 794e0d18d21..4263cab7227 100644 --- a/accel/Kconfig +++ b/accel/Kconfig @@ -16,4 +16,5 @@ config KVM config XEN bool select FSDEV_9P if VIRTFS + select PCI_EXPRESS_GENERIC_BRIDGE select XEN_BUS --=20 2.47.1 From nobody Fri Apr 4 03:37:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739896012; cv=none; d=zohomail.com; s=zohoarc; b=CRkY26rxDnsMT8qm7zZrGxqtNN9AS0UKrY1dNpGt5wzPp8vy9jmUBivftmsz2owldIrDBPOuLwFGPdUN4VF6fp52b9Hx3ZoFL0XQ7zKAhzxPLgImmmlHDvZYpYS6bE8YlZRQHZ8Eiy6aW1L2jNJ9mwIdcRsWqEI9/k9l3xwO+wc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739896012; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=WMi6HKMJEZy6PJobbwMTCNEj8KX/6SAXVrdJz11g72k=; b=GNgXWGXKkSZGqBP9Uep07P5aZs0t9OTdGaJq18QrmIzOllRY1Rcrc+0N3xAT+2nXE9toTJHJ2xA8+T+y87dtOq8QBmd+xXYl5sRIi6Wp48b9ach+FuD7b32rXobQooh6kfM/ubDVwoUBhi5YeLQD8yTEYUo2YnrVljIZWqn8QjE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1739896012779441.05394048605206; Tue, 18 Feb 2025 08:26:52 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.891996.1301016 (Exim 4.92) (envelope-from ) id 1tkQQd-0004Wk-6w; Tue, 18 Feb 2025 16:26:35 +0000 Received: by outflank-mailman (output) from mailman id 891996.1301016; Tue, 18 Feb 2025 16:26:35 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQd-0004Wd-43; Tue, 18 Feb 2025 16:26:35 +0000 Received: by outflank-mailman (input) for mailman id 891996; Tue, 18 Feb 2025 16:26:33 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQb-0004Eu-Bi for xen-devel@lists.xenproject.org; Tue, 18 Feb 2025 16:26:33 +0000 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [2a00:1450:4864:20::336]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 1ccbd521-ee15-11ef-9896-31a8f345e629; Tue, 18 Feb 2025 17:26:31 +0100 (CET) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4396a24118dso42201885e9.0 for ; Tue, 18 Feb 2025 08:26:31 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-439941bd54bsm23641345e9.11.2025.02.18.08.26.29 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 08:26:30 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 1ccbd521-ee15-11ef-9896-31a8f345e629 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739895991; x=1740500791; darn=lists.xenproject.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=WMi6HKMJEZy6PJobbwMTCNEj8KX/6SAXVrdJz11g72k=; b=ypBtCKv9yB9Y5HmWlMr3pV9Z5eXTwJBseftpHpcn+1Z/daw/PfB2P80H8Ksnk90ZvJ V837iOoRF20BRkJRQL5cGbphlXDe92NIPfRnBvs5UHnbamoCbF62rXvn+E/hwtbD7ro/ sF7TLi8fvlRfWGwp2LMWC0+Zmwp4D505wGnodCtNsJVAq9N9O6Cry9vyKEa9PNDYoF7j WNMfEmxqvcts5BdoWYOTEshO539TU7dqm9zywv8Bgqr99VjsuQZUxT0S8wOZh4AaANmp a2xSZL0OPA1tg1ZCSJN+eP6Z7tDmlJ6UvBwouVIeo8PE3cppXh6YLb1zgapicqYBzmwo JakA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739895991; x=1740500791; 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=WMi6HKMJEZy6PJobbwMTCNEj8KX/6SAXVrdJz11g72k=; b=L/J+AZNKsWmXNusHRv+LyPvbJBnEvqe/gmahmlIrrm161BkIJ2CwhlMik0pk7fUzZq RymsoQoKCpNzbmrg+QWZv/DbbqojnobeUh5YDFwl1mo5mET+YLU/dSHzdBuYf7CUUQ24 LlNd2eiC49y63DhQiHojFVRMnnMJNGL9SjQJEbiUyg0wrMToNI0IniZo9p+4tKrMjFdb VWFtoAAYLpK7lRPCRx0UOycl9SIbD/N+DNS5jAoiIn1nsmRJ831hiU9HiJm96qOyfZpZ DJlfkWOUNCI7069wJ+Qv+ctZHrhYZIG/8jaTWVxVCIy/2dpTXuSYKJKvx3pDp7IZxhi7 FpBw== X-Forwarded-Encrypted: i=1; AJvYcCUDEZilh6hqw1ROmNZxFLdT6KeFJQkyLLRWdamcfMHH3ndIp8pxYdvAL5BycpNsUbckzelYozUh7Z8=@lists.xenproject.org X-Gm-Message-State: AOJu0YxYk33CUVnbcfaoRYTR4+8/hwfgKrpj+UIKE7p/YIPVW0FDGWY7 hhVbSIUxnFLlvTRefJln7Dl4C57O9qkvOHGESptky0+eoYJH1ApLrukn5ltXfj8= X-Gm-Gg: ASbGncv6psxev2a/Dl3fj1EX6rjzeA+hDCnD7/m3qqZ4v9AMTLvYoLNLR2mfixd2/Uv cYfYCRh6Pl99tF+prBQbqoVGnxx4f+Hrh7UHh8pMmcOmBTCYU5cDqUWRH20aRAfZ8sTg0SvUKQR Y7rn1pIQxDqN5FUnmz4dNoCybzWrZv5LrfrccCS76tth4irqwor/hlPuNESpsAA4nh2X4KfHZtY rECXwU+8XAL0DB79hJEdiu8qN5e06EHi++K7n4hrYHPnJ3OqXEZfbAgp18gbc1VG+0BAuZCh2U4 lX6yYpd0lx/W7Img8w+p31sjnoZREK2wa2RQyPb0kBIl0XrHUczGVcysF2EvGj7xKw== X-Google-Smtp-Source: AGHT+IGDR/hUW2+zIj2HthGePLoD6GAPRVrHbOwKJDDnZXahEAaGlBqwa3h93T0HklL55mOUPzcfKw== X-Received: by 2002:a05:600c:5124:b0:439:5da7:8e0 with SMTP id 5b1f17b1804b1-43999da82bbmr3503685e9.16.1739895991236; Tue, 18 Feb 2025 08:26:31 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , xen-devel@lists.xenproject.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony PERARD , Stefano Stabellini , Paul Durrant , Andrew Cooper , Juergen Gross , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , David Woodhouse , Vikram Garhwal , Thomas Huth , Jan Beulich , Marcel Apfelbaum Subject: [PATCH 2/8] hw/arm: Do not expose the virt machine on Xen-only binary Date: Tue, 18 Feb 2025 17:26:12 +0100 Message-ID: <20250218162618.46167-3-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250218162618.46167-1-philmd@linaro.org> References: <20250218162618.46167-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1739896015187019100 Since the Virt machine is useless under Xen, do not even try to build it there. A Xen-only binary now only offers the XenPVH machine: $ qemu-system-aarch64 -M help Supported machines are: none empty machine xenpvh Xen PVH ARM machine Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Edgar E. Iglesias --- hw/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 256013ca808..e5f4b1d84d3 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -2,6 +2,7 @@ config ARM_VIRT bool default y depends on ARM + depends on TCG || KVM || HVF imply PCI_DEVICES imply TEST_DEVICES imply VFIO_AMD_XGBE --=20 2.47.1 From nobody Fri Apr 4 03:37:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739896018; cv=none; d=zohomail.com; s=zohoarc; b=TP9J/Qk1d0vV1EHAe04R1UkuOLrebsvJINXTG3nEQ1A1IZS5Um5o8+ZjdnKyqFj1hkFKGjYN8+iBlQAvVpHx2nxHrSdv0kImgKWcl+9YIjjpFJGfrMiPdxcTnr0pUV6H5v3wgnpRXnN8cQNvZnraEa/mY84B3eNGxaLyyf6eM1k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739896018; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=BmvUlbgMu5QXQdotks4SMqmfKLjL3YMxTV+8+DmV1vQ=; b=gs+4WHkyFMfcDaTK/s83wjSsCzAyyQQS9u8jK62HQP76uNFqRwMkANcUn24XsV3pbid0TzlE6x4St1mQx15vrfePFU9TEBElw2K3bgfsGFTUv03X4/bkY0coWrwdiWqMSZ9c18V0sLP/ucsVPliUZw5WJKtGx/DXa3PVHeWIOR4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1739896018727540.6875394346525; Tue, 18 Feb 2025 08:26:58 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.892000.1301026 (Exim 4.92) (envelope-from ) id 1tkQQi-0004tH-Ea; Tue, 18 Feb 2025 16:26:40 +0000 Received: by outflank-mailman (output) from mailman id 892000.1301026; Tue, 18 Feb 2025 16:26:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQi-0004t6-AI; Tue, 18 Feb 2025 16:26:40 +0000 Received: by outflank-mailman (input) for mailman id 892000; Tue, 18 Feb 2025 16:26:39 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQh-0004Eu-1q for xen-devel@lists.xenproject.org; Tue, 18 Feb 2025 16:26:39 +0000 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [2a00:1450:4864:20::335]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 1ff44b29-ee15-11ef-9896-31a8f345e629; Tue, 18 Feb 2025 17:26:37 +0100 (CET) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4398ec2abc2so15158555e9.1 for ; Tue, 18 Feb 2025 08:26:37 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4398a44264csm48836645e9.25.2025.02.18.08.26.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 08:26:36 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 1ff44b29-ee15-11ef-9896-31a8f345e629 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739895996; x=1740500796; darn=lists.xenproject.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=BmvUlbgMu5QXQdotks4SMqmfKLjL3YMxTV+8+DmV1vQ=; b=jTGDLGt2dd80lsvN+Mw5Xl/dFh2qz1sg5AwXP8en6ce5NSCm458C3cPi4Qkepx7KCB B+10QLjM7rOYeFsJBTa2WhRHwhJ+4RWW83XOomrYRIom//piUS7I8Z8rtVLN+Zd+OOur lG5bzFOp/hq1ZRIWnaJAfZE9qvouSAxJkNnvCRt8KgFK7Ck48ukozTXv4cQ33rW4T4bU NaEQ52uMuYJNRQc+zuuPAK4+vFxzhAKNE1C4Hc3V6ufA6BLNOh88hVcydC0MFX0hYBC4 ZbJGxHLXHBGy28GvdFChqRb1TjYsos+IonNgdKriYhQMbZp9Jqyl2J3utDIkXq9P/ewW dnEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739895996; x=1740500796; 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=BmvUlbgMu5QXQdotks4SMqmfKLjL3YMxTV+8+DmV1vQ=; b=pqTMfVFN9ZRAB1pP3/gQaj3GC3JjFV1V0VNgF6kUyB2VaT5SBIC713m4riJnyuct5L /S69pnyAiXF07diPZQk/OlQ5qBMqs67WlbNDBgLInGgwGG0F8oau/woZxy4oNzlJgRv7 p6EQ0prOpYCvr8uzmALGLSXOQwx7rpbdMJaliXOEkmCS4DyFKaPQjayOcTYq+WwqXjBq NqMnbV3WfIjNwxQfZje9aE05Pf2qPTyz5Ynnow2mrM/V6R7+YY3vWCCVsluutJUKkwE/ QCnkgnG5eB1gyzFe9tfbaAK9y/7JUbJsnI6lHjT93AW5YQ4lRhDclGr++xRK2PR4X2+F U9yQ== X-Forwarded-Encrypted: i=1; AJvYcCWNb4OcHLjhaaVxF5JgtBdqAfJSuguVueH0U8i6GK4H2hAwsD6UznYZnwaAMUsuawBPB6Nmbu2DBd0=@lists.xenproject.org X-Gm-Message-State: AOJu0YxjOdPe6QSNAnQBcllIXz6XIEi0KOhcMkGTGVELzKHCow52cQsp yoeL9iU/YOe20X0tX5rvXBPaxXhdtvkyTz0sTYAYeQOxF+OtBADDf+G4g1kcit4= X-Gm-Gg: ASbGnctvyu/hoFi1AQOyHIlB4VOenPwm7GR5LVjvsWo6/C7DPQt40jArLL7m3VdRW7r nf/wwpjJmGUQzqNMFq7G4zlB+5FO1g/PdzdlJV8yjOarNaML6grCefDhs9Wj7++valYW3TJTxfK kQ8utWTT1vjwm89QeF4wzSaM5+yIzFV9OoX4im8maKqv59mUZs9iisD9HschL3Bbx1xM7jIEDQG ZOLrObLZYa7mr54DE2FoJFXZzYxswkZ35h20xlE7blAxWquQV31tRbD+BvrXo6M7xWZel4VHZ2H YkpjUs3TeJaX4Wsjv18XIhwcXF0LaEqF4EPoIErfImTeYYuLz/4x5FxmEd5TFELtRg== X-Google-Smtp-Source: AGHT+IGDpjA1jMRndJ8zzyh/WqT4n0dcOTmIjm+pFjuPp+1wE2F6F3aH9+wQEgZeB7C8Blu7KKErWQ== X-Received: by 2002:a05:600c:35c2:b0:439:5a37:814b with SMTP id 5b1f17b1804b1-43999dd216fmr2597845e9.20.1739895996546; Tue, 18 Feb 2025 08:26:36 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , xen-devel@lists.xenproject.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony PERARD , Stefano Stabellini , Paul Durrant , Andrew Cooper , Juergen Gross , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , David Woodhouse , Vikram Garhwal , Thomas Huth , Jan Beulich , Marcel Apfelbaum Subject: [PATCH 3/8] hw/arm/xen-pvh: Do not allow specifying any CPU type Date: Tue, 18 Feb 2025 17:26:13 +0100 Message-ID: <20250218162618.46167-4-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250218162618.46167-1-philmd@linaro.org> References: <20250218162618.46167-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1739896021183019100 No CPU can be selected by the PHV machine. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/arm/xen-pvh.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/arm/xen-pvh.c b/hw/arm/xen-pvh.c index d1509bd235d..2557d520307 100644 --- a/hw/arm/xen-pvh.c +++ b/hw/arm/xen-pvh.c @@ -53,6 +53,7 @@ static void xen_arm_machine_class_init(ObjectClass *oc, v= oid *data) { XenPVHMachineClass *xpc =3D XEN_PVH_MACHINE_CLASS(oc); MachineClass *mc =3D MACHINE_CLASS(oc); + static const char * const valid_cpu_types[] =3D { NULL }; =20 mc->desc =3D "Xen PVH ARM machine"; =20 @@ -75,6 +76,7 @@ static void xen_arm_machine_class_init(ObjectClass *oc, v= oid *data) * mc->max_cpus, QEMU will bail out with an error message. */ mc->max_cpus =3D GUEST_MAX_VCPUS; + mc->valid_cpu_types =3D valid_cpu_types; =20 /* Xen/ARM does not use buffered IOREQs. */ xpc->handle_bufioreq =3D HVM_IOREQSRV_BUFIOREQ_OFF; --=20 2.47.1 From nobody Fri Apr 4 03:37:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739896021; cv=none; d=zohomail.com; s=zohoarc; b=SkOvahY9Qjf0Ud0I9JMtpZ4vKHK5LRp6Is9iSqHV4spd1VXvkLb5xj5xI4Kr/GUtkfYPdb8jM9W9630clzZPpcTH7Q8Gs7v/VZFyvgMr8lUxupVJIsaVvZAA+bVXeWS6Q4SgSrWP/mIB4Njhkpo4+2XrXjU0G6ofCQic96cmf0s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739896021; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=0a66yVnUC0E5xDdPgIBrEynWgyX5dbe4KJOQ4kO7y1I=; b=cFjQgUm3uhD1HyjGQ8mROSQJW+GBGd59t+qpn7UfmM97bZWXzNN78B15yD5zMwPKjSmQhfnRl2Xu6WTuTSHRh0JVSlD2bzrqIszVuJTrVmwxE6NamT2w1wzLn3MtzZrKDyaVoJ2KPP9oJzbLhmpWa0Iiyp7MnRD3rFvn3J6VaIk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1739896021797968.7502603833749; Tue, 18 Feb 2025 08:27:01 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.892004.1301036 (Exim 4.92) (envelope-from ) id 1tkQQm-0005Eq-MQ; Tue, 18 Feb 2025 16:26:44 +0000 Received: by outflank-mailman (output) from mailman id 892004.1301036; Tue, 18 Feb 2025 16:26:44 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQm-0005Ej-JF; Tue, 18 Feb 2025 16:26:44 +0000 Received: by outflank-mailman (input) for mailman id 892004; Tue, 18 Feb 2025 16:26:43 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQl-0004Eu-Sz for xen-devel@lists.xenproject.org; Tue, 18 Feb 2025 16:26:43 +0000 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [2a00:1450:4864:20::42e]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 2308296b-ee15-11ef-9896-31a8f345e629; Tue, 18 Feb 2025 17:26:42 +0100 (CET) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-38f2b7ce2e5so2338595f8f.2 for ; Tue, 18 Feb 2025 08:26:42 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43990f53847sm35276835e9.1.2025.02.18.08.26.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 08:26:41 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2308296b-ee15-11ef-9896-31a8f345e629 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739896002; x=1740500802; darn=lists.xenproject.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=0a66yVnUC0E5xDdPgIBrEynWgyX5dbe4KJOQ4kO7y1I=; b=dpNjiOScx02LTjn9jwtoA3nc+FfVTHweCrBbrXN//oVV+YAx5BpA+QNSY50cr8eYwe cEUVWzRBHlpwsD9fB9jWex1GG3OMndQo15TsHdOFdQ7JcQQhm39GCIB/xKcSo+4Yln6h Xbv6nRI5e/aL7yixFVFZy8sKwPYtSdq7iR3YLa8cf7LcLW9Emeyie/Wac/1K4V99ZaIb yXjshQA/0QF3YkKo86zk/YW1akMfUDSVA7hMINyRBiHy/pWG5cXIdeVdSeG0YoE6Dc83 ZLDps494ldOG6JNZMMvW17/3QE2xknMSQnK0eZs46R3uOKFZaa6TDtMwAJnuKIM3ScIQ RwWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739896002; x=1740500802; 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=0a66yVnUC0E5xDdPgIBrEynWgyX5dbe4KJOQ4kO7y1I=; b=iTYIzBSKaaXryIxEsm/AV0pzkKS1G0pQAZeAt8pDfNS0jDzulvWBgHrZUL48pDjf0p OLeJlnsnjd4kw1DlZfLr/9AWHVDlbiTt08g4Q6uw4g9RFjllj83GgC3tgzUVeS6HuPmX l2JrCKgU44hslGp+Wz/B4qSegeAJ3lPbnHAAohTauWr2rZBLLItPlrBJFSvjIBrqVG/P LXZYwoALX0punCArJ1VSd/ScO9iee4gk1vWmZGlqGfMpNXnj+KuhdXgGwtJRzJ4wgJeC 0VhMuX22FRRdeHMqr4va+PkUIKf7DX4tvCw3gfNqfo0zVhvD0wuZ1rHagi1qly6HpSyI mkQA== X-Forwarded-Encrypted: i=1; AJvYcCX4zdbiLvRtB9v/JeCXHRa1ll98TjYkkXP76pfHHzW5Y/KMrPjyyVrHEGlwC/5s5U6Jp4HJzWqnb6E=@lists.xenproject.org X-Gm-Message-State: AOJu0Yx/CVBFaa2xpSGakd0A1LsZFj06ayTBFPVmiCzRakB5p4xy0vKe egEscNBy+KZDO+IFKX4xArZD7OBB7D8qs3S0l0yHyJItTwGkXMwQqi2XrwEsKvs= X-Gm-Gg: ASbGncvL25Zi7oZgXhGtmO+lmDBPYXovLtXyzGEk/dqHy7CwEfxzq7eA14l7ayKawZf fQtK2m530PUSMzHj2u6Erx5Dnakv6SWitTkamHoJ1VJLBX5p+jzJKBc2D1S9WKToj07fDuaotwb RKBUqJy/gEAcx8CIuK+KAAZh0DetZBv3lrNh9ZS8V4g2Qmk0/W+d+DlkqZEAFF2Vs7WHwHsOJhE bK6Dsboy2I67GB+cACEfEkvqTcAfcDOEWaFBx47+qK/161H++JkT5bsdw4hA02G+LFZAwmamdrZ zm+9SyhEJUgcYArGfkqkhtDAS8Y8WFkJqrByPiMffPjusMco7AlV1qmpw711frdQ4g== X-Google-Smtp-Source: AGHT+IGVAlgtubLuls4ng2ytjxZmkvsTq+0bRKUdjbgCyy9ok8Tw4Re7Q3OdU7d9IrlO5cAU3E/jjg== X-Received: by 2002:a05:6000:1865:b0:38f:4d91:c123 with SMTP id ffacd0b85a97d-38f4d91c4abmr6004250f8f.32.1739896001712; Tue, 18 Feb 2025 08:26:41 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , xen-devel@lists.xenproject.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony PERARD , Stefano Stabellini , Paul Durrant , Andrew Cooper , Juergen Gross , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , David Woodhouse , Vikram Garhwal , Thomas Huth , Jan Beulich , Marcel Apfelbaum Subject: [PATCH 4/8] hw/xen/xen-pvh: Reduce included headers Date: Tue, 18 Feb 2025 17:26:14 +0100 Message-ID: <20250218162618.46167-5-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250218162618.46167-1-philmd@linaro.org> References: <20250218162618.46167-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1739896024128019000 Have "hw/xen/xen-pvh-common.h" include the bare minimal set of headers. Adapt sources to avoid errors when refactoring unrelated headers such: hw/i386/xen/xen-pvh.c: In function =E2=80=98xen_pvh_machine_class_init= =E2=80=99: hw/i386/xen/xen-pvh.c:84:28: error: =E2=80=98TARGET_DEFAULT_CPU_TYPE=E2= =80=99 undeclared (first use in this function) 84 | mc->default_cpu_type =3D TARGET_DEFAULT_CPU_TYPE; | ^~~~~~~~~~~~~~~~~~~~~~~ hw/xen/xen-pvh-common.c: In function =E2=80=98xen_pvh_init=E2=80=99: hw/xen/xen-pvh-common.c:217:43: error: =E2=80=98MiB=E2=80=99 undeclared= (first use in this function) 217 | if (s->cfg.pci_ecam.size !=3D 256 * MiB) { | ^~~ hw/xen/xen-hvm-common.c:18:6: error: no previous prototype for =E2=80= =98xen_mr_is_memory=E2=80=99 [-Werror=3Dmissing-prototypes] 18 | bool xen_mr_is_memory(MemoryRegion *mr) | ^~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Edgar E. Iglesias --- include/hw/xen/xen-pvh-common.h | 8 ++++---- hw/i386/xen/xen-pvh.c | 1 + hw/xen/xen-pvh-common.c | 6 ++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/include/hw/xen/xen-pvh-common.h b/include/hw/xen/xen-pvh-commo= n.h index 5cdd23c2f4d..17c5a58a5a4 100644 --- a/include/hw/xen/xen-pvh-common.h +++ b/include/hw/xen/xen-pvh-common.h @@ -9,11 +9,11 @@ #ifndef XEN_PVH_COMMON_H__ #define XEN_PVH_COMMON_H__ =20 -#include -#include "hw/sysbus.h" -#include "hw/hw.h" -#include "hw/xen/xen-hvm-common.h" +#include "exec/memory.h" +#include "qom/object.h" +#include "hw/boards.h" #include "hw/pci-host/gpex.h" +#include "hw/xen/xen-hvm-common.h" =20 #define TYPE_XEN_PVH_MACHINE MACHINE_TYPE_NAME("xen-pvh-base") OBJECT_DECLARE_TYPE(XenPVHMachineState, XenPVHMachineClass, diff --git a/hw/i386/xen/xen-pvh.c b/hw/i386/xen/xen-pvh.c index 33c10279763..f6356f2a7ed 100644 --- a/hw/i386/xen/xen-pvh.c +++ b/hw/i386/xen/xen-pvh.c @@ -14,6 +14,7 @@ #include "hw/xen/arch_hvm.h" #include #include "hw/xen/xen-pvh-common.h" +#include "target/i386/cpu.h" =20 #define TYPE_XEN_PVH_X86 MACHINE_TYPE_NAME("xenpvh") OBJECT_DECLARE_SIMPLE_TYPE(XenPVHx86State, XEN_PVH_X86) diff --git a/hw/xen/xen-pvh-common.c b/hw/xen/xen-pvh-common.c index 9c21fa858d3..19876ad7e8d 100644 --- a/hw/xen/xen-pvh-common.c +++ b/hw/xen/xen-pvh-common.c @@ -7,15 +7,13 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/error-report.h" -#include "qapi/error.h" +#include "qemu/units.h" #include "qapi/visitor.h" #include "hw/boards.h" #include "hw/irq.h" -#include "hw/sysbus.h" -#include "system/system.h" #include "system/tpm.h" #include "system/tpm_backend.h" +#include "system/runstate.h" #include "hw/xen/xen-pvh-common.h" #include "trace.h" =20 --=20 2.47.1 From nobody Fri Apr 4 03:37:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739896027; cv=none; d=zohomail.com; s=zohoarc; b=k2ONo10Tzd5YGTSQljfuslGHfDr4LE1TBwxI8rNiAcAwtD1SCqAtqz+X0C+zHUI2Q5oMy2fIq3HGQiv8XCPmPQ0MCUqmvfFeFNfX9aqzaU+G/ZGBUA1UNr5EAz6PSyXLYEmXy8GzY84+OapOxu7Q4/ty5u32OgN+z2VTvor3/2I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739896027; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ZEWDgBTGZHQh8hQjrfZA2thbBnd3w2okAGpaFOGJy1M=; b=Nb+VGU8xjXTDqZvV3I3dC7KrqYVyzptIFr3vPdyyRRr/EtRMi4jTqSYqZi14p+hWhUhlkUFgrgWXKjr326WMQP3KsaJp68MzLrXfRX0kVrwIe3MXRgckJC1Tk++709QRkNzDelUlzgW440eeTTIYD1OGQ6JmnrRAZeYPIMDC3dk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1739896027588980.8362737608169; Tue, 18 Feb 2025 08:27:07 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.892012.1301046 (Exim 4.92) (envelope-from ) id 1tkQQs-0005l4-4k; Tue, 18 Feb 2025 16:26:50 +0000 Received: by outflank-mailman (output) from mailman id 892012.1301046; Tue, 18 Feb 2025 16:26:50 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQs-0005kt-1l; Tue, 18 Feb 2025 16:26:50 +0000 Received: by outflank-mailman (input) for mailman id 892012; Tue, 18 Feb 2025 16:26:49 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQQr-0004Eu-5g for xen-devel@lists.xenproject.org; Tue, 18 Feb 2025 16:26:49 +0000 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [2a00:1450:4864:20::334]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 26227fb8-ee15-11ef-9896-31a8f345e629; Tue, 18 Feb 2025 17:26:47 +0100 (CET) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-439946a49e1so6551445e9.0 for ; Tue, 18 Feb 2025 08:26:47 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38f25a0fa2dsm15228567f8f.101.2025.02.18.08.26.45 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 08:26:46 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 26227fb8-ee15-11ef-9896-31a8f345e629 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739896007; x=1740500807; darn=lists.xenproject.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=ZEWDgBTGZHQh8hQjrfZA2thbBnd3w2okAGpaFOGJy1M=; b=znvXKY1GINt8oIWo3Pmuo5lViy3vnfUzrUnnEP7BrqX/BR5+HIlr4MH9rmKTHN3YYy UdCNJzf3cYn84fHiB9TNItb7wZLUjo0Y/cv/YxBP9kbu8UOd1y8bvF0ILx/uhYrNRAq0 RBlWoKekFFAr1JEyQs39+c3hFFExdroHp0O65nrZ06/3D0Lw/sDGixHuAfjZJf0o6bd/ EvIk/AvtwJKjILEVIXXDfe94muqdNqbcG+DoYO52jHLFR286OrRP2C7YoLfCLQrV7SWv X5UDIpPvcKeL5ymTMXS2enK/wcZr9iUVOE7Uwoaypq1ZlnDqVnIt2h599CcaJyPomVl1 3pGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739896007; x=1740500807; 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=ZEWDgBTGZHQh8hQjrfZA2thbBnd3w2okAGpaFOGJy1M=; b=SGD5NeFHqesV5+JH0lAL3kO7Rge6K/yd1OKt+cWvy5r1Ul24ucRv6IiUObPYvSoofv KnxzuUVcXCRhY2Sr7I8hVXfNhHGdGVjJGsiwP0TcfiEpEnKhFW+egf0sIFOjDzrRZptX DabQRDPoK/GADkzzEh1ax9c821KdZR8xcOs00NFqFqIcXvnt7SgGp1FojfxgFjcUcQxs HHrqRYUiKBZlUkVEpaa9RrByafSrS1XQe9AWrk+jdym6rSlwVZOnP11y/vZbhb6WJ9mv /rTWHtwiDM9Vf9byM2gpl0gHPLNmj6slpmk8s459UFEIrhLOH+chC/TBbQ6ePjM+Tcg6 F2Pg== X-Forwarded-Encrypted: i=1; AJvYcCWJA8Sh+GOuSgsXbQZuIRQcl5kKmoZaS6V2BEo4e0yBx53ecXSJe3Tq1wpVsGsObcJ0pkran518AQg=@lists.xenproject.org X-Gm-Message-State: AOJu0YybzxqLVVw1HPojC+MxxMgnVgXQNAen9J4L0ISZ6xTW3KBYcUgy CL1mqwMneP7V/jHXVJ8JCbreCnaBq0nZFP90a+6izRljShCdrGzEhLbvJzuSKuo= X-Gm-Gg: ASbGncscDshBPAV4uWKpbrp7dVqbxKteqHeyg2kavBWt+v2/8NpqAvk8u4gyAXofiub A8BuUI+0Q5Afp3EmmIQQkxoDt3k05qlLe9CC/rFhRMKiKLFrdlGqn2IkZfzXc7Yd40NgGRF+TBs TK4xlgtc/pCTJ5CyssZ/y0Gk8VFLEJ58Ft0BjN1sQuI+J0U9lOH7oSyrDHBIWncfb73XMvR5L// 2NKZ7SSBK4jSL/+cBqEMRxsWj8tBO5prpAKDn2oMG0vTCPwEU0YfA5R5seFYqZyqAuaGTWSTWs0 vj7SBKMi/pIXrAQMmQ1Z4hnffqommQNv4xS0dbM9aBfn/j5uAOYhXeXeu5Kez5i32Q== X-Google-Smtp-Source: AGHT+IHww/aPDqevZulOoXCapDkghHuR45jCHHx4aaEIx+GvA7aWlGWPRHehkaEbIQa+py8L6fjQlQ== X-Received: by 2002:a05:600c:4e8c:b0:439:9274:81db with SMTP id 5b1f17b1804b1-43999d76ddcmr3474325e9.5.1739896006891; Tue, 18 Feb 2025 08:26:46 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , xen-devel@lists.xenproject.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony PERARD , Stefano Stabellini , Paul Durrant , Andrew Cooper , Juergen Gross , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , David Woodhouse , Vikram Garhwal , Thomas Huth , Jan Beulich , Marcel Apfelbaum Subject: [PATCH 5/8] hw/xen/xen-hvm: Reduce included headers Date: Tue, 18 Feb 2025 17:26:15 +0100 Message-ID: <20250218162618.46167-6-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250218162618.46167-1-philmd@linaro.org> References: <20250218162618.46167-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1739896028259019000 Have "hw/xen/xen-hvm-common.h" include the bare minimal set of headers. Adapt sources to avoid errors when refactoring unrelated headers such: include/hw/xen/xen-hvm-common.h:71:5: error: unknown type name =E2=80=98x= enevtchn_handle=E2=80=99 71 | xenevtchn_handle *xce_handle; | ^~~~~~~~~~~~~~~~ hw/xen/xen-hvm-common.c: In function =E2=80=98cpu_get_ioreq=E2=80=99: hw/xen/xen-hvm-common.c:227:13: error: implicit declaration of function = =E2=80=98hw_error=E2=80=99 227 | hw_error("Fatal error while trying to get io event!\n= "); | ^~~~~~~~ | herror hw/xen/xen-hvm-common.c: In function =E2=80=98handle_ioreq=E2=80=99: hw/xen/xen-hvm-common.c:446:34: error: =E2=80=98target_ulong=E2=80=99 und= eclared (first use in this function) 446 | (req->size < sizeof (target_ulong))) { | ^~~~~~~~~~~~ hw/i386/xen/xen-hvm.c: In function =E2=80=98xen_add_to_physmap=E2=80=99: hw/i386/xen/xen-hvm.c:298:22: error: implicit declaration of function =E2= =80=98xen_replace_cache_entry=E2=80=99 298 | uint8_t *p =3D xen_replace_cache_entry(phys_offset, start= _addr, size); | ^~~~~~~~~~~~~~~~~~~~~~~ hw/i386/xen/xen-hvm.c: In function =E2=80=98xen_log_global_start=E2=80=99: hw/i386/xen/xen-hvm.c:465:9: error: implicit declaration of function =E2= =80=98xen_enabled=E2=80=99 465 | if (xen_enabled()) { | ^~~~~~~~~~~ hw/i386/xen/xen-hvm.c: In function =E2=80=98regs_to_cpu=E2=80=99: hw/i386/xen/xen-hvm.c:487:5: error: unknown type name =E2=80=98X86CPU=E2= =80=99 487 | X86CPU *cpu; | ^~~~~~ hw/i386/xen/xen-hvm.c:492:15: error: =E2=80=98R_EAX=E2=80=99 undeclared (= first use in this function) 492 | env->regs[R_EAX] =3D req->data; | ^~~~~ | REG_RAX Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Anthony PERARD --- include/hw/xen/xen-hvm-common.h | 14 +++----------- hw/arm/xen-stubs.c | 5 ++--- hw/i386/xen/xen-hvm.c | 5 +++++ hw/xen/xen-hvm-common.c | 6 ++++++ 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/include/hw/xen/xen-hvm-common.h b/include/hw/xen/xen-hvm-commo= n.h index c1ea2c0d787..19df5600a39 100644 --- a/include/hw/xen/xen-hvm-common.h +++ b/include/hw/xen/xen-hvm-common.h @@ -1,18 +1,10 @@ #ifndef HW_XEN_HVM_COMMON_H #define HW_XEN_HVM_COMMON_H =20 -#include "qemu/units.h" - -#include "cpu.h" -#include "hw/pci/pci.h" -#include "hw/hw.h" +#include "qemu/queue.h" +#include "exec/hwaddr.h" #include "hw/xen/xen_native.h" -#include "hw/xen/xen-legacy-backend.h" -#include "system/runstate.h" -#include "system/system.h" -#include "system/xen.h" -#include "system/xen-mapcache.h" -#include "qemu/error-report.h" +#include "hw/xen/xen_backend_ops.h" #include =20 extern MemoryRegion xen_memory; diff --git a/hw/arm/xen-stubs.c b/hw/arm/xen-stubs.c index 34beb8b08cb..5551584dc20 100644 --- a/hw/arm/xen-stubs.c +++ b/hw/arm/xen-stubs.c @@ -5,10 +5,9 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/error-report.h" #include "qapi/qapi-commands-migration.h" -#include "hw/boards.h" -#include "system/system.h" +#include "system/xen.h" +#include "hw/hw.h" #include "hw/xen/xen-hvm-common.h" #include "hw/xen/arch_hvm.h" =20 diff --git a/hw/i386/xen/xen-hvm.c b/hw/i386/xen/xen-hvm.c index d3df488c483..67b7c223aee 100644 --- a/hw/i386/xen/xen-hvm.c +++ b/hw/i386/xen/xen-hvm.c @@ -14,6 +14,7 @@ #include "qapi/qapi-commands-migration.h" #include "trace.h" =20 +#include "hw/hw.h" #include "hw/i386/pc.h" #include "hw/irq.h" #include "hw/i386/apic-msidef.h" @@ -24,6 +25,10 @@ #include "hw/xen/arch_hvm.h" #include #include "exec/target_page.h" +#include "target/i386/cpu.h" +#include "system/runstate.h" +#include "system/xen-mapcache.h" +#include "system/xen.h" =20 static MemoryRegion ram_640k, ram_lo, ram_hi; static MemoryRegion *framebuffer; diff --git a/hw/xen/xen-hvm-common.c b/hw/xen/xen-hvm-common.c index 7ffbbfea23b..3828105c95e 100644 --- a/hw/xen/xen-hvm-common.c +++ b/hw/xen/xen-hvm-common.c @@ -1,14 +1,20 @@ #include "qemu/osdep.h" #include "qemu/units.h" #include "qapi/error.h" +#include "exec/target_long.h" #include "exec/target_page.h" #include "trace.h" =20 +#include "hw/hw.h" #include "hw/pci/pci_host.h" #include "hw/xen/xen-hvm-common.h" #include "hw/xen/xen-bus.h" #include "hw/boards.h" #include "hw/xen/arch_hvm.h" +#include "system/runstate.h" +#include "system/system.h" +#include "system/xen.h" +#include "system/xen-mapcache.h" =20 MemoryRegion xen_memory, xen_grants; =20 --=20 2.47.1 From nobody Fri Apr 4 03:37:25 2025 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=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739896055; cv=none; d=zohomail.com; s=zohoarc; b=SHrYmxoA3npSsD3Q8DrE3jRFc7hz78v/O6PYNYkvdwkwGgzt3xDuCpraBiATiso5ufif/nOEtXyLS4rO4SK8xxbmryvk5ZgAUyd2kkYN+t84NBrgLSfIQDnSykq/HasfYRosSgVh2Q+RgiWB9TMghmf1buPKxwb0RKW47JlpnV4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739896055; 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=mperaQfcVOBqRRYRjHccBT2TwBZt0VUagowA4iRkLpA=; b=jpm9QZVe0CUHGsBboxHLWB5vL/KzHMvjyxEX3QSLut5BK9P6IG/zNC96AS36NhxFCnmQEZqEejxDYgk/hcXSnoQXhvl25e0WfAHjfSjb0IPX5VxgsVrUUSliB+DsLtWZrCL6sh1KkhiKUbyxvXBoRxF4zt/AbklyzMIa5IYp6FI= 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1739896055515890.8718561514667; Tue, 18 Feb 2025 08:27:35 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tkQQz-00053U-W3; Tue, 18 Feb 2025 11:26:58 -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 1tkQQx-0004zJ-F2 for qemu-devel@nongnu.org; Tue, 18 Feb 2025 11:26:55 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tkQQv-0000lw-Vh for qemu-devel@nongnu.org; Tue, 18 Feb 2025 11:26:55 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4398c8c8b2cso21247915e9.2 for ; Tue, 18 Feb 2025 08:26:53 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43990f53847sm35280935e9.1.2025.02.18.08.26.50 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 08:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739896012; x=1740500812; 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=mperaQfcVOBqRRYRjHccBT2TwBZt0VUagowA4iRkLpA=; b=xd+xG20vd2eayFJ+youg2RjBW6E435A0yO4Owqzf7dLSkrGYVUPltNWIwTMp8zOyX7 Mx2h2PfhS1G310h+tzwBOv0cA6+qZxyZBhg4IugyW8RxZ3hxlda6WRYoummZsj7H4x9j 0lhKlhSPFiLIwrgcYmnIV94Z6MT59DpMTxc7DYTW9UgeSrHCXdAC/BymPvtPEO4UAhyi oeKiumEdFq7Q1sOaTzfSD0hw/lMR4QbhmNwAYvOO+GHt6RjbUmVZMcPu3mPjRSfJPx2M ERW1C9qBbWdX/bdST8JzYKPp+WBr2xRkzgp37KTxImntJq80DqeyiteOcdZlj8u6gE2f uhLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739896012; x=1740500812; 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=mperaQfcVOBqRRYRjHccBT2TwBZt0VUagowA4iRkLpA=; b=daKdy1BPbxRbGJFct0lddVcY2M/fTUSLYxs27ih17A6TU8/zpz7/KcXsff+mmyRBGN A28C8mJigwWKbzpmh2a2OLntzfb7ubetDUgy1bQNuZNe4vAHzcIGG5o3ExAWptgUNa4H yhXgaCuPb2ZInHiw6dz/u69XoFx0hDK50Ye2EJc+eVM9jcOB/uEnuXB57D8O+az9TpiI cRODlPDQxndnPKNy/UKn2S/bPkGZGfSPpqnBpikk6ZAX2oTtICpP0j6EY/GfX4dGxrcs J1kR1eyTwyUxLLPWWxqi01tOXa5DUp/n/GtBbE6WbfpWveRenMJK6qPEtH6Jf1FGjiPC SIig== X-Gm-Message-State: AOJu0YyBRBRZoIP4OaCy3Ac8TMh6f6v1u9CWov5Ev3JEqhrxhMfof9Vk npLXENDGsC3hlKeIskuuiQpInBBa+JJUBosMwLfrxsjI14MBUOr7+9FD6ZolAWeYXGirvSV+KUa Xmms= X-Gm-Gg: ASbGncvodcdfdozjzV/v1vRIzq0YMx8jBm+JSHqsVYB4Q8n/WAwkWBcUHP9F3o9Amad tdqv3/VDXZyDa6DZFb/Zs+6y4wfBp/84renHw649QBfnDwX004/4ed9GRszyYlsDr4Flv1Bdtbs +VYIWdVmZ5KnytVRuJVI3GcqsoB1BQt9Pj3czKkNmdan87UFSqPZRKHwu0RnoLFWzDBfZHy3KHE kf6uWFUxuKlDvuN8GIoVIN6r5EiWAOa3yRAd2z32GjZZ6nAAfyKcMVVQUxfOM5Bjco6dpLlz6TI qO+f1JSep7+WkxXaCN6O4rWTzXuMc3uc3iAmxeYjy5C/pU4o/SqEpJp+Gf/Ffyh0Tw== X-Google-Smtp-Source: AGHT+IF7J9TVuOyN/e8Zf762aLNRW9ueMObB9uugOr+4mEzA/SYgnf7ANAVSmsXQfhVb+gVyh0mcig== X-Received: by 2002:a05:600c:511f:b0:439:43b1:e60 with SMTP id 5b1f17b1804b1-4396e6df40amr143667775e9.17.1739896011980; Tue, 18 Feb 2025 08:26:51 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , xen-devel@lists.xenproject.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony PERARD , Stefano Stabellini , Paul Durrant , Andrew Cooper , Juergen Gross , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , David Woodhouse , Vikram Garhwal , Thomas Huth , Jan Beulich , Marcel Apfelbaum Subject: [PATCH 6/8] hw/xen/xen-bus: Reduce included headers Date: Tue, 18 Feb 2025 17:26:16 +0100 Message-ID: <20250218162618.46167-7-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250218162618.46167-1-philmd@linaro.org> References: <20250218162618.46167-1-philmd@linaro.org> 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=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.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=unavailable 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 @linaro.org) X-ZM-MESSAGEID: 1739896057428019100 Have "hw/xen/xen-bus" include the bare minimal set of headers. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Anthony PERARD --- include/hw/xen/xen-bus.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hw/xen/xen-bus.h b/include/hw/xen/xen-bus.h index 2adb2af8391..bdbf1ed6fd0 100644 --- a/include/hw/xen/xen-bus.h +++ b/include/hw/xen/xen-bus.h @@ -8,9 +8,10 @@ #ifndef HW_XEN_BUS_H #define HW_XEN_BUS_H =20 +#include "hw/qdev-core.h" #include "hw/xen/xen_backend_ops.h" -#include "hw/sysbus.h" #include "qemu/notify.h" +#include "qemu/queue.h" #include "qom/object.h" =20 typedef struct XenEventChannel XenEventChannel; --=20 2.47.1 From nobody Fri Apr 4 03:37:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739896034; cv=none; d=zohomail.com; s=zohoarc; b=F/aW21XQgsEwFiG7zb+1qtg6MgPQt4d4aAPvBUx5REJt9Mw60NhKlx3D1B9oz3j8Oc/dZMFwFP5LaMH7aLg2w044h9kRuoeEd+vxDFL4Z1kuASE9jLZABTsaVprsJ8qjH87z6cpckrGKZ+OF65DKMU6uKSuEEyTKJeBTmvWaxQk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739896034; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=LY1yJOtl399lZ4AXgftr3zMqyDj58QmxjVcxn7qswe0=; b=hSNmcwG+uKa1vRafN7WZLTQylRVnDfW98Ua+kH8Pgcj2+J45pCYd0WJ/EGP9sR0BzNhDmfbNu4SMNjHlCXqpzKagfW8vIjhu4DFUmJb5BzluxyEV4wmMpT4q7OJ/IBjMgCsl14LCc6IqDLSv5b/cxrZSRRFoFXD4YBiUh/WUD8U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1739896034896653.7287099428555; Tue, 18 Feb 2025 08:27:14 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.892029.1301066 (Exim 4.92) (envelope-from ) id 1tkQR2-0006pf-Kh; Tue, 18 Feb 2025 16:27:00 +0000 Received: by outflank-mailman (output) from mailman id 892029.1301066; Tue, 18 Feb 2025 16:27:00 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQR2-0006pU-H3; Tue, 18 Feb 2025 16:27:00 +0000 Received: by outflank-mailman (input) for mailman id 892029; Tue, 18 Feb 2025 16:26:59 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tkQR1-0003yu-2r for xen-devel@lists.xenproject.org; Tue, 18 Feb 2025 16:26:59 +0000 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [2a00:1450:4864:20::331]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2cbd687d-ee15-11ef-9aa7-95dc52dad729; Tue, 18 Feb 2025 17:26:58 +0100 (CET) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-439350f1a0bso34734545e9.0 for ; Tue, 18 Feb 2025 08:26:58 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-439941bd54bsm23652215e9.11.2025.02.18.08.26.55 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 08:26:56 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 2cbd687d-ee15-11ef-9aa7-95dc52dad729 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739896018; x=1740500818; darn=lists.xenproject.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=LY1yJOtl399lZ4AXgftr3zMqyDj58QmxjVcxn7qswe0=; b=TCQerYR+4TBAt11bIGDudigKkAKdBszbAUNNh4Cjii5mELuq0vTBgr0Gompb1wyHd0 uFIlFQvhp/BDUFDw7mFms5QqpBASdQRCXaBfFtcK588Se1YCOmaGYULefUgJVIvEJwGN 6SkzThZcdwzepHAz24NZf3krWLNcUufbLtA2JZ5tAh3c4Ko53MXP4Qp0s73d/VT8sUxK 0UKOljPDYyBRgvzUdDExKE7tEop2iNxh+aKGZ6TC0jW7QmKdCFFr4qE8TeLiymHeAPMz ZnHlwkCifDOQ7ZJ2aA7nWKDlbBgNMoJznWxB1G4ma0vZKiUtvyMj/+b6xDojxaJA9agq 2L2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739896018; x=1740500818; 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=LY1yJOtl399lZ4AXgftr3zMqyDj58QmxjVcxn7qswe0=; b=YVkDKgVzYgBSN7Oas6CTReSFje8gp5gGh3ZZZhJbj4kfQhxme7W632fJUi2y9WdBud ETQWgD4p2Y/An05kMzd8cclk0m1GlQ7PNhJex8MEQ1V1V/SQyHPwFHNy46y5thE3Pwse IYov/4ue9MXgwGwT7lVm+2DtMUYFATRE4xcTeoORG2XP+pc0NqSzCD70V8tdpHi6HySP RxhzM1e58pm2sHF/Joqlewtsjq6qoXQ4L8w6VUG/Pffbr56emKspY6NiGysTEUdlloI2 CIf4283j3r8WJSqwow7Ymf0C6z+TzTFmJUKviocXki+lagGduCfIjyeEFB1m/KyqLTht rlhw== X-Forwarded-Encrypted: i=1; AJvYcCVfZB/GOEXj6krBzNjvTWq3BodD+UNfhFpI4+xd/N0J30McIuU+px824L5MLoQG+Un6KFwKNh/6I1E=@lists.xenproject.org X-Gm-Message-State: AOJu0YxHWLAf7eQ5bX/FwBZU42ZaJzukO8KisSWYQk+thzbDbq5qIpdg uh3jUCN72dNXPJI6LrbKgdQB8JEYEHdqG/N2FXxJ5pgT6vlayLTwXV9jR91ci5w= X-Gm-Gg: ASbGncsZH/oAES2aQoBTgupjmMayQ4bJROVHOe9E3psfQdt1E1VX0z+/uCza+bwVqDd /yYSWRa0Ihrk5TCCYJ4n2kRmbb0k2oWAtvcQfsLp9bWpOhxlocWOysDI+kFCQoiHLevkIZwQyDY H+mwFjGgWYXEOTnFZavZYd13bezA3vCU8Fv4ntLSSuvMu45tEo0drjDXhj9spceOhKvV0RS4rbg KO402/HaqLBDVuD1GJtcFHVTxtBnG1rZ9BPW5wpH8EIKs7he+hvE+B0YfQ6sHPYisiq7cE7YDGE 8yqxWT0w447qF34jOIY489UNYThpTBNFXLHX8vg6YE+L/gSHe8oK6cT69ZovI3vWKA== X-Google-Smtp-Source: AGHT+IGvcnFycQQ+MA4T/mqzvg5WJga+EiuJJvKuRerbPrC+Ynhn7kdBWW+6S7LFCffDmzCAKYbQwg== X-Received: by 2002:a05:600c:4f15:b0:439:4c1e:d810 with SMTP id 5b1f17b1804b1-43999b0283amr4460925e9.9.1739896017978; Tue, 18 Feb 2025 08:26:57 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , xen-devel@lists.xenproject.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony PERARD , Stefano Stabellini , Paul Durrant , Andrew Cooper , Juergen Gross , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , David Woodhouse , Vikram Garhwal , Thomas Huth , Jan Beulich , Marcel Apfelbaum Subject: [PATCH 7/8] hw/xen/xen-legacy-backend: Remove unused 'net/net.h' header Date: Tue, 18 Feb 2025 17:26:17 +0100 Message-ID: <20250218162618.46167-8-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250218162618.46167-1-philmd@linaro.org> References: <20250218162618.46167-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1739896037444019100 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Anthony PERARD --- include/hw/xen/xen-legacy-backend.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/hw/xen/xen-legacy-backend.h b/include/hw/xen/xen-legac= y-backend.h index e198b120c5d..2d0cbfecade 100644 --- a/include/hw/xen/xen-legacy-backend.h +++ b/include/hw/xen/xen-legacy-backend.h @@ -3,7 +3,6 @@ =20 #include "hw/xen/xen_backend_ops.h" #include "hw/xen/xen_pvdev.h" -#include "net/net.h" #include "qom/object.h" =20 #define TYPE_XENSYSDEV "xen-sysdev" --=20 2.47.1 From nobody Fri Apr 4 03:37:25 2025 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=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1739896090; cv=none; d=zohomail.com; s=zohoarc; b=LKidT+veHn5q0M25RzAJnNysvSnObg/Byqevm7rc3HktvFBJBTYdo0A2SgHOUWUNVRTKobQAbav82OFf4U0tlAOWOpsVe1MEoKan4mNBdfq3wHYqRKBSLz6VLOk7Apj1cfzgevCgEcdHQKvTdLulMOw0AehznzzGjELVe418I+0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1739896090; 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=C8Njo+qOXhV4Sx/ta7KiauuSaoi71X4Ex5TI1JyVyyI=; b=dIEn6HZqucEqwVVO1xbVNFpWkj47iXJ7/Smf1Tb0bPdmCkOt5Phe/CgjCfhjiAARSswUk4nN/ZCXoUwuqPbCEjcNglgzjNc2B+a2pZeXK/s81tLMVQ8Hl8uWSFtUO/9ZXkrfrcQTYJ9YTbGoWWK42rpP6xroeSWmc8jxBA5jwiY= 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 173989609031469.62800646766868; Tue, 18 Feb 2025 08:28:10 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tkQRA-0005bo-0S; Tue, 18 Feb 2025 11:27:08 -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 1tkQR8-0005Yu-IP for qemu-devel@nongnu.org; Tue, 18 Feb 2025 11:27:06 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tkQR6-0000oT-Pn for qemu-devel@nongnu.org; Tue, 18 Feb 2025 11:27:06 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4398e3dfc66so16163555e9.0 for ; Tue, 18 Feb 2025 08:27:04 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4398a44264csm48848305e9.25.2025.02.18.08.27.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 18 Feb 2025 08:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739896023; x=1740500823; 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=C8Njo+qOXhV4Sx/ta7KiauuSaoi71X4Ex5TI1JyVyyI=; b=JJlkYZjDHy1SyWYNS0ofTXuL3jnbHk9TyGp+zaNdP+RZnPMhUf9uF9vncrgpTt8293 jrNPP78tE9nFy66qTC6ONF8xRcNDNQuv0azituwdkofRsH1QR0ENwxD0t2ud1eA8/ox5 P0hYjnKwlxfMPMWT6j/0JEgxcmkfUAQHhoOJ1CftW3FhqwhcpjIFKFB22p8SDRyX0K6o MXAdmT2PYpCdwWlyJqFpgwLxaCPetRfUk06OgfxE4ErFC6oj/f+aE4lyZsSmP+6GUlHE PHOACDuDDZPSuyALXI9/fKzuQ3y+W/uj36+NTVTk1aM3imZX9rntSY38g4WUezERfzL7 DeZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739896023; x=1740500823; 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=C8Njo+qOXhV4Sx/ta7KiauuSaoi71X4Ex5TI1JyVyyI=; b=uxJlYv7mO46OkVTBVMVA9soUKCP1bHtaP7pjDzfkAJtdvRy08A0lg47TQ0YNdr4x1L r25aRSXyscjb4VwSdLZ4FSkIsaDmvmaeX0cqE0bmhzAYW2YwJRArSh0k12+jFohoWxaW vudkatD92Aq4KrayDX5jX+xk9upVuEtlh8Tttah91zjiIqqcoMFW5slGfExtbbid/SOJ IV6F3RHXqcy7+qaFPMCGlPA1OkwhNRyGVjSkmHy7BAZZQP767fB/CNiZQeVR361GFHRG SyD/TIVpsj6PF+3LnRmm35VDzuYx0wdjp/buomvuGbG8YOv/hFHWARExwAb7CTyoYbgL tV3g== X-Gm-Message-State: AOJu0YxxZKFzHbec582wo2NkPNhK1IA/ytI2Opi1ksmPY6u2u+wKvYX7 gvuPpp4Z7l/ZaQ0WTmGIeKweUsNEE8IPiuXrKXoOmbaQh5TtmDuKOSukTip0QaLDG4pyS2F5etb PN3g= X-Gm-Gg: ASbGnctWUbX9FA9eZ8sRKS1dUYseiVtYVmaz3Tblww1mQxKMds2aKXmBsi7zNcWFUBm snPtbqqE4oKwZn9AvkoMNgTfOmDwzgAaj7w4rewcrqgW2bRFNlpC8WFzwQK6kn23gFSWvgIchp6 eFYsbKLsxQ58jn8AVASHmK/E3XCSrN1vo9BeV1wI07EYRyfbr6eI/5eshPU2t+ItYSvk3JBvhro Igbp3Hu1f2nrDS7Am4XDzA5Z2U7aGcI4spexexBmNPJoiaC9d7c5eBL64hQwV8kS4yR9r7aAKSI VROnE2GPUSPh7wOnpvyCvWRxrm5GVBh7m8k8HwTvCZ8wwWDf3RWsueHM3LCDof1Jeg== X-Google-Smtp-Source: AGHT+IHNicWVQy20xmctK+WaMFhMn6/Qp3O5JrlTfAC9l8cTOsGhr1pxbbnLyADgvxXG36sDv5n1uQ== X-Received: by 2002:a05:600c:4f55:b0:439:95b9:91fc with SMTP id 5b1f17b1804b1-43999d8b49dmr3064455e9.12.1739896023034; Tue, 18 Feb 2025 08:27:03 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , xen-devel@lists.xenproject.org, qemu-arm@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony PERARD , Stefano Stabellini , Paul Durrant , Andrew Cooper , Juergen Gross , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Paolo Bonzini , "Edgar E. Iglesias" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , David Woodhouse , Vikram Garhwal , Thomas Huth , Jan Beulich , Marcel Apfelbaum Subject: [PATCH 8/8] meson: Remove support for Xen on 32-bit ARM hosts Date: Tue, 18 Feb 2025 17:26:18 +0100 Message-ID: <20250218162618.46167-9-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250218162618.46167-1-philmd@linaro.org> References: <20250218162618.46167-1-philmd@linaro.org> 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=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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=unavailable 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 @linaro.org) X-ZM-MESSAGEID: 1739896092333019000 Per Stefano: For ARM 32-bit, I do not think we ever had many deployments, as most are 64-bit. Even when there are deployments, they do not typically use QEMU, as QEMU is less important for Xen on ARM compared to x86. The QEMU project only test to cross-build Xen on Aarch64 hosts (see 84eda110792 ("gitlab-ci: Add Xen cross-build jobs"). Since 32-bit host aren't tested, simply remove the support there. [*] https://lore.kernel.org/qemu-devel/alpine.DEB.2.22.394.2502031438170.11= 632@ubuntu-linux-20-04-desktop/ Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Anthony PERARD --- While apparently running Xen on 32-bit hosts isn't straighforward anymore (see [x]), we don't need to remove it ASAP, it is already in the deprecation queue since commit 6d701c9bac1 ("meson: Deprecate 32-bit host support"). [x] https://lore.kernel.org/qemu-devel/173d18bf-f68c-4bd5-b822-abb1c1f0c51b= @suse.com/ --- docs/about/removed-features.rst | 5 +++++ meson.build | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/about/removed-features.rst b/docs/about/removed-features.= rst index c6616ce05e5..f6ea53acc8b 100644 --- a/docs/about/removed-features.rst +++ b/docs/about/removed-features.rst @@ -969,6 +969,11 @@ MIPS "Trap-and-Emulate" KVM support (removed in 8.0) The MIPS "Trap-and-Emulate" KVM host and guest support was removed from Linux in 2021, and is not supported anymore by QEMU either. =20 +Xen on 32-bit ARM hosts (removed in 10.0) +''''''''''''''''''''''''''''''''''''''''' + +Untested for more than 4 years. + System emulator machines ------------------------ =20 diff --git a/meson.build b/meson.build index 8ed10b6624e..7b80d8dff09 100644 --- a/meson.build +++ b/meson.build @@ -308,9 +308,6 @@ if cpu =3D=3D 'x86' xen_targets =3D ['i386-softmmu'] elif cpu =3D=3D 'x86_64' xen_targets =3D ['i386-softmmu', 'x86_64-softmmu'] -elif cpu =3D=3D 'arm' - # i386 emulator provides xenpv machine type for multiple architectures - xen_targets =3D ['i386-softmmu'] elif cpu =3D=3D 'aarch64' # i386 emulator provides xenpv machine type for multiple architectures xen_targets =3D ['i386-softmmu', 'x86_64-softmmu', 'aarch64-softmmu'] --=20 2.47.1