From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311449; cv=none; d=zohomail.com; s=zohoarc; b=Cxtd1pepnBXPbAkkw5ZkisGyREewqqbAUcXMN6FUDiK8yqKvRo0inE9Xlx/HwbZU+xCHdCQnQEwXVynjcYyZfkJ1cstlN446qEGoTp3XtSc47AaXqK/YOfS3X7zzJrV/w7skNgrs6RwGEUQj0e0r0sS1ZmoNRwHRyVq3li9A4hk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311449; 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=kn5xikD9QkCXrs/o+mINgkWSgLM4F+AGTzk5/qxWwPg=; b=XIBY503As/N28Dc2oZP3Lnj9FqTbDel/ltdddTpUfsKGFo1zBAzo8bMLZ8XNQcR16mt6mP52Opwkv1oRYSYv6iyWWpQLEHicFVbr8GiSHibOCzbhwh05ndwUbVGsu+TSOeQJ7QfqBDgCg0CibuIvRtDd8jtlmuo0PCriqcQt1cg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311449150518.5531393612953; Mon, 15 Jan 2024 01:37:29 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOA-0002sk-My; Mon, 15 Jan 2024 04:36:14 -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 1rPJO7-0002rP-Vj for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:12 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJO6-00082p-C1 for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:11 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:05 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:04 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311370; x=1736847370; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=1NRorIVgPPapskwi2yNyDwZUkMT9veYvMKnbbEk649Q=; b=CQyohfjDUjUX1bFrdLzBbFT45s1Db5c1D0qybjTRKWrp3uTab/F7xKjK pL0q67pUw9wz75HcEfgnPx8XEusdjA/vNdwgCXoTs2Zqm6TloBc+mJWh3 cEwZ3dHL4HBRaBZKisY1qJ+FcsRVspja+Gd7jWNuxkOuGhdf5VNcQZSPm SoHITaAfpwRorKasNi+hRGtfpTheDH+Q5i21ci1MigUlCjJlzZrkPr3XC 9Uj2fHm/hH2hIPzvUtCvXAkiqwJyglQYRV1qx5IEQQbvwNv0wDOEmqJrt dtNgmCj+GqSWbbBHxA4Mh3KEEGcz8xlmPkaLp0vle7XaWcoxJqda7KvFA w==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439705" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439705" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594142" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594142" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 01/11] MAINTAINERS: Update hw/core/cpu.c entry Date: Mon, 15 Jan 2024 17:48:42 +0800 Message-Id: <20240115094852.3597165-2-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311450978100003 From: Zhao Liu The hw/core/cpu.c was split as hw/core/cpu-common.c and hw/core/cpu-sysemu.c in the commit df4fd7d5c8a3 ("cpu: Split as cpu-common / cpu-sysemu"). Update the related entry. Signed-off-by: Zhao Liu Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index b406fb20c059..529313eba27e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1867,7 +1867,8 @@ M: Marcel Apfelbaum R: Philippe Mathieu-Daud=C3=A9 R: Yanan Wang S: Supported -F: hw/core/cpu.c +F: hw/core/cpu-common.c +F: hw/core/cpu-sysemu.c F: hw/core/machine-qmp-cmds.c F: hw/core/machine.c F: hw/core/machine-smp.c --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311421; cv=none; d=zohomail.com; s=zohoarc; b=lRklnpXYJNW24mq13px84HnW86D+DnKTsf0oJUnW4azWCg0Y7e42P/BmYUSrR3XDuezQJf92zeDD58SWLCYZ2ZAlAoNFEN27tC/8vtb+TtN12kXLcUazCzMP4jbFP3yzLT/32OVNsrRCTeKKuAc6J4yFVLLNPE9Ra60DjD8LBoE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311421; h=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=WxTOQGl8PiccEIq2KLZymb5HnWVPCC3J4kBuX8iWmQw=; b=TkgSWhTeEg/NWOQ9r8VYW+eBjRuN+neNRc2ikhkaqzuoFoIa8jO3qppwB2JjkRxTtZqHxEFXhXdqv0WvtAprxTgU1LxNMkourGqRTi/aH+CloMpnZMxWmTgqK3CHdf3rOfxipmP4/Q54QcVK/EoRo0BOWkZuHuXulix5x0C3ye4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311421119724.7130469619592; Mon, 15 Jan 2024 01:37:01 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOE-0002uk-M4; Mon, 15 Jan 2024 04:36:18 -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 1rPJOB-0002uO-QQ for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:15 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJO9-00083u-V4 for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:15 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:07 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:05 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311373; x=1736847373; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GJeci8mK7yn0nRNGrhm8Z6i51j2QxMraNbK/U8jSyYs=; b=Ae7APvq/zJK+29egmZpqfaE+qg1v8+5VhAFfN0N/iVWi/zQtRETDjJJZ p+nfV5cbf3q/K4Uf2V0YRPxNbZ4pTjFINHDhdai+zmDAGKAu7zJoVMj+g 2/SzFwX3FBARG+V5RiFykxVMX/z6enpCNX24RXqtCz5vXCVasLffDeUSI ju6TLGFbdm/CR6ubkzMmNCYDGY3WSg4vUsR1hamqT/qGfYxYl97wNGKuz 3wabgXYwMSXC175zBJKMXLfd+1dsppXsukWxVLNSate0DAnXdifmSvY5K oE4k+00nuZNQUev2+d5ItfSmSEzYBIy9y2CTWwZxmNrPv+kUrlUbwABuv g==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439710" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439710" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594149" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594149" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 02/11] hw/core: Cleanup unused included headers in cpu-common.c Date: Mon, 15 Jan 2024 17:48:43 +0800 Message-Id: <20240115094852.3597165-3-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311422854100003 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Remove unused headers in cpu-common.c: * qemu/notify.h * qemu/log.h * qemu/main-loop.h * exec/cpu-common.h * qemu/error-report.h * qemu/qemu-print.h Though hw/core/cpu.h has been included by sysemu/hw_accel.h, to keep the dependency clear, still directly include hw/core/cpu.h in this file. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/cpu-common.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c index 3ccfe882e2c3..bb21dfc03029 100644 --- a/hw/core/cpu-common.c +++ b/hw/core/cpu-common.c @@ -19,16 +19,11 @@ */ =20 #include "qemu/osdep.h" + #include "qapi/error.h" #include "hw/core/cpu.h" #include "sysemu/hw_accel.h" -#include "qemu/notify.h" -#include "qemu/log.h" -#include "qemu/main-loop.h" #include "exec/log.h" -#include "exec/cpu-common.h" -#include "qemu/error-report.h" -#include "qemu/qemu-print.h" #include "sysemu/tcg.h" #include "hw/boards.h" #include "hw/qdev-properties.h" --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311450; cv=none; d=zohomail.com; s=zohoarc; b=MiQyeq/EdWx2UQkaUODhu31oYCERmbENHSvJKqsEVgBefrKiL+5HEn2yuEXPUi0//LdDSUfU9zEW74EOVciHMLMWDPt9J+xJzC4iTuMDe7fi+C1PYHQpBd9fV0FxROLu4AmlyeQE3UlG7og5Q9y79woZ9Cj5FGvAWDUHhH8TRaA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311450; h=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=xKBLVpYwJj8GDSlejcTAqVcdbS9Yv9zI2NbFF9kc28I=; b=GQRKE4q9oX+X2ROvU9I0fmoH5fdRQURMK/vgnu7RjoMkSnqA6pvotloFocg61WotoEvlpVIMOv28pcs2klV9I+XEi7Y6XAPCY18tX+pshvnZzObUvpAZhZKu9kF39DvGHQT7ECWHevCd3Vhm6+Y+nfFguk+HKPl/hmVCgbY+Itw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311450792609.6889318806589; Mon, 15 Jan 2024 01:37:30 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOH-0002xX-Og; Mon, 15 Jan 2024 04:36:21 -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 1rPJOE-0002ux-Qt for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:18 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOC-00083u-II for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:18 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:10 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:07 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311376; x=1736847376; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=flRKbSEdAP4ceuEU5TinqRhscLt9QCn3R7aZPVfjlfo=; b=UC6WIJhRdLjE9bQYhr4bbt9ilRuekGyiOAGmyH+0vA9vgC4Ht+n7ahcM NMIA1mesq/lm8mSYs/2bSvqvtPlMQqzaofUUxGWRb4l/S/vdqYcaPxOP1 WVeMJTQsuu2sHrNZciRioCVvrxTDgWBhLHtBwR3O9YjQ+5TfgGuF521X1 JndJHXK9jvH1FWGnXAL+Kf2z7ewnurk7JCVZZ5CVPgrwnmVsOUy+LRn/R U0MaE1jOH54lNf3LLnoxgXRRhxQlakItdXz7LddrDD+YlRLsqorIuOgdn HFUixHFz0X8c/yc7pnF6noBDSQ+qopJm4zGUSpmScL1JeT51yrBLgTWOI g==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439715" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439715" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594153" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594153" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 03/11] hw/core: Reorder included headers in cpu-common.c Date: Mon, 15 Jan 2024 17:48:44 +0800 Message-Id: <20240115094852.3597165-4-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311450979100004 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Reorder the header files (except qemu/osdep.h) in alphabetical order. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/cpu-common.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c index bb21dfc03029..1b785a6965ea 100644 --- a/hw/core/cpu-common.c +++ b/hw/core/cpu-common.c @@ -20,15 +20,15 @@ =20 #include "qemu/osdep.h" =20 -#include "qapi/error.h" -#include "hw/core/cpu.h" -#include "sysemu/hw_accel.h" #include "exec/log.h" -#include "sysemu/tcg.h" #include "hw/boards.h" +#include "hw/core/cpu.h" #include "hw/qdev-properties.h" -#include "trace.h" +#include "qapi/error.h" #include "qemu/plugin.h" +#include "sysemu/hw_accel.h" +#include "sysemu/tcg.h" +#include "trace.h" =20 CPUState *cpu_by_arch_id(int64_t id) { --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311394; cv=none; d=zohomail.com; s=zohoarc; b=KPWsNqb6TKYd3CwiRRnblwZgAGPPW2u3LUP/BJc3vIvz7qK8zVXnmdgiqw+kwGswhk7xYrRs7eNf/mi2nk1CLgFvGqYMBOueiNo8JT+z/Ly3Gr1IGGP6RTNq6oYXOM6DCOt+LgqcuErlJMZ8RqgHkCu7EiJEDxiI2TXmxAeZ4KA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311394; h=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=onWvPOXGVL8mXr9oQkTetznTAb7Zu9QzTji5x9BBDBk=; b=cohpGYY0lMu+A8bY4M6ijRRKwKAGoqdhgZjo6y1YsGSoQM73amXl2DVCssz1cgRo+FyeQx6QnAfbs9jVg3HHw3TjX1FuCFZMmYJ1ldFnzkyCZEjeEiy4x4hOstjNQy3LuKKCeXT/5jxm0vVQbJRvZkyazQKAUnW/omxFfAU3pfA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17053113948781014.5276361805775; Mon, 15 Jan 2024 01:36:34 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOF-0002vd-RW; Mon, 15 Jan 2024 04:36:19 -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 1rPJOC-0002uX-Pt for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:17 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOB-00083y-2u for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:16 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:11 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:09 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311375; x=1736847375; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XH3LsbqPJSIGrPOUvQjfkrvf/Mabxk9CR1ifojleA4I=; b=VgWql20GTOyH1Hi9VO6XsTjKw3j5gKg4sC0uZDWHi6nVJhzrwkpSkPlb yZPARB6SOUJQg9RpnnL9fs7lcPY2wo+M1SVFj1iibC4nchOd8hsGsReyT 6ff1p14qrYcSMGZGx9nuTno2epQTxK4q4vh8SD32gF8+qFh2eQosCYKRW 4o0SoYr6BIWlzx7dWb1PeHG0eA3IoaEB1ZwQrclNEka/Cn0kVFo3ZvNyB +t16U/nBSutXjRLKdme+hGdmI3+U500mUbMn2lxtUR7zQoeHRtBxtTiOw nHFaF3nXwkctYZvPNeUtjOnkKsFVcKIVuTbkijDZnGXmMPVDze0Hb564y Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439724" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439724" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594157" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594157" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 04/11] hw/core: Reorder included headers in cpu-sysemu.c Date: Mon, 15 Jan 2024 17:48:45 +0800 Message-Id: <20240115094852.3597165-5-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311396760100007 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Reorder the header files (except qemu/osdep.h) in alphabetical order. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/cpu-sysemu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/core/cpu-sysemu.c b/hw/core/cpu-sysemu.c index d0d6a910f97c..c2cb05830076 100644 --- a/hw/core/cpu-sysemu.c +++ b/hw/core/cpu-sysemu.c @@ -19,9 +19,10 @@ */ =20 #include "qemu/osdep.h" -#include "qapi/error.h" + #include "hw/core/cpu.h" #include "hw/core/sysemu-cpu-ops.h" +#include "qapi/error.h" =20 bool cpu_paging_enabled(const CPUState *cpu) { --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311422; cv=none; d=zohomail.com; s=zohoarc; b=S6g9f/70UdFMez8cp8jsJ45ZsurH6jbR+yPqlycgDwnGdZpBsjLK94rvCuyw6sgPqrWRs3VE9Fvq3rMDLB9A0U3PSI0MjXu2zZ5aY7eJmihGbWZVwrD/LcEAWkJFYjf7Yh/6kYRPS57oxLYgTkW/sQJZ7fGgQZxTwZlhj9hP8no= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311422; h=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=pTYWl9QeG4qlOUHaZrsZkj/AifZ9z9MeFlkTe8OB168=; b=U14A2Vb7Upwn33akrFAQkauCp72LWE594oO7SS2Alj8YElV1/YVl5o6TOAegjq/y4JvE7BqimftAmigC++Mdpcu3mw8MYeEHOS4rUU2L0mW39fT/cPYRuh4jWL24Oa7+O5/bnNoX7Zk35xhke1XYOfSjbZzXHwG3tJfIXp/wmkM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311422825468.10121546085145; Mon, 15 Jan 2024 01:37:02 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOG-0002wE-P1; Mon, 15 Jan 2024 04:36:20 -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 1rPJOE-0002uy-NM for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:18 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOC-00084H-Nq for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:18 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:12 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:11 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311376; x=1736847376; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/1Uxm7TXZFuEah25rWzAdZsTGu5hTcUNKhbNsRucjwU=; b=Y1vYvHeVkwT7y3Vj7CsALSBPO1GokHT3Uz2f1dvS5NN0lSpFVqY1EnE9 F2mx6/y82SU4CjcCFtZvTV+FhqLNEzBbW0keZRYwwooeS0P/mk3ymebTH KAs0+EXsxLuoe/Kcgxlzx2d5SvrtTFO+OABqdsNIsQfbVcouiFpKIjVwu RF4pMj4U4UHFKVNjLCio8tajqWcS7Pyi/Eil9TEyPyr13cAU6EP2KyXup +OX0c+v4CiIfGteJmhpkQYfmsD7EOv6CaeEAejyKTG44v7r/V3Mm23DCe PonfQbWCLE22lkEc5INT/lRSfy7KwJHdW8VJzq7ECsmqX2pXlAewduBwn w==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439758" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439758" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594162" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594162" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 05/11] hw/core: Cleanup unused included headers in machine-qmp-cmds.c Date: Mon, 15 Jan 2024 17:48:46 +0800 Message-Id: <20240115094852.3597165-6-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311424861100007 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Remove unused headers in machine-qmp-cmds.c: * qemu/main-loop.h * qemu/uuid.h * sysemu/hostmem.h Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/machine-qmp-cmds.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/core/machine-qmp-cmds.c b/hw/core/machine-qmp-cmds.c index 3860a50c3b7b..1b2b4cce5386 100644 --- a/hw/core/machine-qmp-cmds.c +++ b/hw/core/machine-qmp-cmds.c @@ -8,6 +8,7 @@ */ =20 #include "qemu/osdep.h" + #include "hw/acpi/vmgenid.h" #include "hw/boards.h" #include "hw/intc/intc.h" @@ -19,10 +20,7 @@ #include "qapi/qmp/qobject.h" #include "qapi/qobject-input-visitor.h" #include "qapi/type-helpers.h" -#include "qemu/main-loop.h" -#include "qemu/uuid.h" #include "qom/qom-qobject.h" -#include "sysemu/hostmem.h" #include "sysemu/hw_accel.h" #include "sysemu/numa.h" #include "sysemu/runstate.h" --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311461; cv=none; d=zohomail.com; s=zohoarc; b=SsyaE21qyzWDBgCGzZkfgNdJU3qzKjoRzx95OC9kZs9QZLjBpWeS8zw6xy3wIf1xU1p1NY00kh3KMGt7Ygm0Dcr2FFVYB8r2AHJl/M2k1nixZMcL0PQd1MFgoGYEIWTTvEOYHjReI0iju7m9JoR3MxAedeiDJAmtwzLCycrHde4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311461; h=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=Fc381I+dEck6L3+HysZC4dIfFzUtdL0JxrASTqmqnUg=; b=B/7DbDavLIqEXl5UVe+t9OGJgvP24gUiPbmAf4J4RhofueYRTBGuyQ82rJJ/uQAjT8J9JHc6Fevw2ZSxBPNt9doJ0PtS6XYOGDOpsXptYXepaioCw38wuKPYZw6KubYtpuQ7w8FGJzzlu83B7sRElGsy4iRgW3fKMiMJf/aK4fM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311461658987.5087738996489; Mon, 15 Jan 2024 01:37:41 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOI-0002xp-FO; Mon, 15 Jan 2024 04:36:22 -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 1rPJOF-0002vO-Ii for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:19 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOD-00083y-F2 for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:19 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:14 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:13 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311377; x=1736847377; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=duXLjlHspppopoqelLTa/6YliFZpAeVWVXPvV7DdYGg=; b=RlMHdfDp4w9s9DENDW9mvvKmYLfvZrWCq9/f8q3z50cm3gg8jrva/+QH Ru9hCZTQYIovc1GQ7+7KPsGcJeQWQbBu9wb9fJxwvgTihB8LmhQvj2XnU OuOEjy56BWHu9cSHojYgfKi/8V2QWZs+5Xtw8R9Nx9V1WZOQItshjqvIK dylIHUjD0MQEZAxcoqdtwmFBJmK0yLib1IbjefPmbcObdLOJKbtEdYdGd 0az/B3afLn8IyOH50aWZRsW7pONdq/eeO74/ypbuP40QZG+3QQI8aFeAK nKIiK6F50zzxIfXLZPrWNBqO5bZ5oippTucAcGA8OoznfDaf368PWyN1u Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439766" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439766" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594165" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594165" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 06/11] hw/core: Cleanup unused included header in machine.c Date: Mon, 15 Jan 2024 17:48:47 +0800 Message-Id: <20240115094852.3597165-7-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311463020100003 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Remove unused header in cpu-common.c: * qapi/error.h Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/machine.c b/hw/core/machine.c index fb5afdcae4cc..554c4f5df2da 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -11,11 +11,11 @@ */ =20 #include "qemu/osdep.h" + #include "qemu/accel.h" #include "sysemu/replay.h" #include "hw/boards.h" #include "hw/loader.h" -#include "qapi/error.h" #include "qapi/qapi-visit-machine.h" #include "qom/object_interfaces.h" #include "sysemu/cpus.h" --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311496; cv=none; d=zohomail.com; s=zohoarc; b=dZvtSy4rUrAQ/DKhIUczyGduy+zd6ZSYQj8pm5nTTXqVgnUdozYp68jGt20JLimPe6eK3HCqn3WKfwKcIv5WATCl47es3ShCzIPvvdek7DdYhZJmWvpUXRKe6SLKrh+FZddolClKHEmXKU4W2wYexEVDeevzjdhv/Q6UAUJGNq0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311496; h=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=eFlpP7grj+UmyznSFd0BMy6swbX9NYgQ2S7iHWbRbwM=; b=CNlyxfv4KL8MkNVjSjY1Y0taC82kNsRM6DOwMfBMpk4CMXnK6BrcuXWRR6wxVWe6SRstGA+DVVXSNPpQVWTAPHjSUmwvVKgLPrCYXIxd01Tm2thH2Hjj5X9SHbnUM55WM0vELFGrOTVQimULg/SG1TWJtTLi21Rz6o9nNjfwH6g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311496371131.12501992843454; Mon, 15 Jan 2024 01:38:16 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOK-0002yc-OY; Mon, 15 Jan 2024 04:36:24 -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 1rPJOG-0002wB-Ia for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:20 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOE-00083u-Vb for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:20 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:16 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:14 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311379; x=1736847379; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=W/Wursoino0Yj1hVD2AZ+GmLqddvaPvnEIq0pMwnGd8=; b=N+Vr9MPXHH19Yg1gLMQYj7vv7dQQW9/VEFmMCVjHWAHXc64zf2QIrc43 PYTKbJi7s0ZqBpmEUF9nuDOXvyPyPpoIi9+WPxLmmSSVcz6eBvQeRV5x0 vnNEtoHzweLlDcAliyUxAcFwOuUz1jRSNFTruNqJ4zi62hFxOd+jFFjzX JRfA3eHnTRgfCCjkByBFMIUl+pxU6e7tIBg0XujL+ZI23iibt5sFDKLHn HlgDBCdr29ekzYnySGTo+ALLXt/U//eI9O83unhK9ILcjRGt1hFkSrMk3 hRQkyX1h5Lj4GlZbeERn/CvSr5Tx9RgJXv+QMXu/HEXR8WNLpT3X+xF6a A==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439786" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439786" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594168" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594168" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 07/11] hw/core: Reorder included header in machine.c Date: Mon, 15 Jan 2024 17:48:48 +0800 Message-Id: <20240115094852.3597165-8-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311497172100003 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Reorder the header files (except qemu/osdep.h) in alphabetical order. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/machine.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/hw/core/machine.c b/hw/core/machine.c index 554c4f5df2da..50e69b1cf1b8 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -12,25 +12,25 @@ =20 #include "qemu/osdep.h" =20 -#include "qemu/accel.h" -#include "sysemu/replay.h" +#include "audio/audio.h" +#include "exec/confidential-guest-support.h" #include "hw/boards.h" #include "hw/loader.h" +#include "hw/mem/nvdimm.h" +#include "hw/pci/pci_bridge.h" +#include "hw/virtio/virtio-net.h" +#include "hw/virtio/virtio-pci.h" +#include "migration/global_state.h" #include "qapi/qapi-visit-machine.h" +#include "qemu/accel.h" #include "qom/object_interfaces.h" #include "sysemu/cpus.h" +#include "sysemu/qtest.h" #include "sysemu/sysemu.h" +#include "sysemu/replay.h" #include "sysemu/reset.h" #include "sysemu/runstate.h" #include "sysemu/xen.h" -#include "sysemu/qtest.h" -#include "hw/pci/pci_bridge.h" -#include "hw/mem/nvdimm.h" -#include "migration/global_state.h" -#include "exec/confidential-guest-support.h" -#include "hw/virtio/virtio-pci.h" -#include "hw/virtio/virtio-net.h" -#include "audio/audio.h" =20 GlobalProperty hw_compat_8_2[] =3D {}; const size_t hw_compat_8_2_len =3D G_N_ELEMENTS(hw_compat_8_2); --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311490; cv=none; d=zohomail.com; s=zohoarc; b=D2HWM6mg6A7OHzKlTl6TTKDbTNu8qWgoSwlPwNI3qwK/YAhd3YYqd3crA+rBENcvaYTymUaFCaOEJ2kAd9u6oD/RmKoxf+a+6jlgPcfFAqQD+pdt7k8DjJ1uslIOwLnkpChSs9TCWFxNLeZuMfPJnp+bugvzE/FMbRyufpnoPeg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311490; h=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=qdsT9RbhiflQmchmYgbWKDhU8/WBn7LDUkp2MvV8AK8=; b=iOwEksNJgujquZ8Fl9ogIiFEr42032iQ2F4LQPieDspE5mATkmenk/voAs/ZYEmsg3JWpJFhQ/8NnE7jzuvWfykNB/X6307Etd8le8jSpiRociIezTzGkssMJtweJA4r3/anaFa5/yUH5tZjVyjaMyLgWJ5I9M7bzLR2xZJ0n6U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311490565100.5492924310596; Mon, 15 Jan 2024 01:38:10 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOK-0002y1-52; Mon, 15 Jan 2024 04:36:24 -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 1rPJOG-0002x4-T8 for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:20 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOF-00084H-8j for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:20 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:18 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:16 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311379; x=1736847379; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BoeRZGN7eQPcgZF2+XzoPfgKu1ZXa9REGBB4Q0wXOGQ=; b=d5P5sxHeEtHWF/jyr4S8ohn/vefJFwJmoggyhAjPgUY67EZLfoqbA5+P pHjX4vcRAjp6JuPCPFXPF31ARoLP/ETNRtENXsLVzcUepH/wx0FXZxtYt fiXVYYVaWEEh8wcXZmssqYMViIosNE887YktiD79NlqRhE1vQIkz4D7AO czdTvhN6Inc5ANJdNbLz6qvOfSRFYaK2z7dVP+OUzdvaNHMi4mY/u1wGI I4qSsd71g2Vw/qsHmTU1UPH9QIOB6ag5pRgOjX8ZiWWTxgWTpKrzROUzj 0s1xwTwt6zh5ZRSmlLOpXX+AcbU4GnIOm9IQ/rTpyFfQHxIl+SCZIkmq7 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439799" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439799" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594172" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594172" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 08/11] hw/core: Cleanup unnecessary included header in null-machine.c Date: Mon, 15 Jan 2024 17:48:49 +0800 Message-Id: <20240115094852.3597165-9-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311491140100003 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Remove the unnecessary header (hw/core/cpu.h) since the hw/boards.h has already included that header. Signed-off-by: Zhao Liu --- hw/core/null-machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index f586a4bef543..a0c7acc19cc3 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -12,10 +12,10 @@ */ =20 #include "qemu/osdep.h" + #include "qemu/error-report.h" #include "hw/boards.h" #include "exec/address-spaces.h" -#include "hw/core/cpu.h" =20 static void machine_none_init(MachineState *mch) { --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311415; cv=none; d=zohomail.com; s=zohoarc; b=n0lTXoaS8sxu1hWYiJ2GBpDnubQZlFAz7sp4QS5PtkxgvTwSw1JAQ6o0jJngj11EvlQAAUjCkBcL1Zq4dUGEPCQHIYErj8zqIvU9s4l8nnc2jLpoEMkycbo9mSALXDqPtYVjoOYkSaM8tnzt3lXr4VBVfNrJBjdrtWPTMxX2RxM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311415; h=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=6/Z4mPYqsBVeWmG3nOreds9DuH58lgCFQgXM7l3Dk98=; b=Gs0nWyh/B3+MZk4UQaBd6Z2hOX7g89dub9slNZcetkXIIJyfUw8Owk7ghHuqD+fg8hR1teumOUYefG8vFvVheh3Bg7+q6H2rO5/QsGdQyr8bsDd4yHK237cJVZaXCGBir/UcMEp74Z2eW4FhgFZrFG25aFvRX+aMq2pjHVrNBy8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311415492674.3905253227064; Mon, 15 Jan 2024 01:36:55 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOJ-0002xz-Vw; Mon, 15 Jan 2024 04:36:24 -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 1rPJOI-0002xq-Ht for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:22 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOG-00083y-UC for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:22 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:20 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:18 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311380; x=1736847380; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=bEuuzhlR+r/Qy0aq8IIdnaQz63UEvVOGDNMZ/dCZ9KE=; b=LqVcmKMIyMjSzNHatrUKdWXgwO+bYAkjDfLKKeGsSSpnxryTADVWCkV9 4OYVQGSUUzGgqI4qQz3u5XzbH/nLm3cJ4/+TBD/xTrpP1lYJ6WCfvyNDH voHZZ0i3VqHF5MmOaHmqJE9FhJEoEs668K1pxqhdOllzhySBLFcle1lF0 B9LGtql9bAQY/pLx50ZTE8BfHGgQ6bjTnUafkeJJKYoJk2asuuW5lIHWa JhRv6aoBWZCIUQpl0Wi4J7MuopcLs5YkIvEdkapm6YehEd59SleEq7FRc CHTLtnbuxKrQmIJtpAdkMZLlIGRa3bjQ6ROgTf1vm/i02tQOIBAmfCWFv A==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439814" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439814" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594175" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594175" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 09/11] hw/core: Reorder included headers in null-machine.c Date: Mon, 15 Jan 2024 17:48:50 +0800 Message-Id: <20240115094852.3597165-10-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311416829100003 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Reorder the header files (except qemu/osdep.h) in alphabetical order. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/null-machine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/core/null-machine.c b/hw/core/null-machine.c index a0c7acc19cc3..3d411de3396a 100644 --- a/hw/core/null-machine.c +++ b/hw/core/null-machine.c @@ -13,9 +13,9 @@ =20 #include "qemu/osdep.h" =20 -#include "qemu/error-report.h" -#include "hw/boards.h" #include "exec/address-spaces.h" +#include "hw/boards.h" +#include "qemu/error-report.h" =20 static void machine_none_init(MachineState *mch) { --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311434; cv=none; d=zohomail.com; s=zohoarc; b=OAXkdDtnkJpyOP/TAz8ybplVMEbmh4cP3L37GjI+hdgHNakzT2bsGFe7Iw6hUb2/FGXz1jDWhfaHxkfXtgPBBYRpan18lMp3VwYh+CNKlglw3cp9j8kZSXX5RNTYyAy5t382NdhbRYw/+qYTNakugWruMV3oYTEdYmtzJFGJeJ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311434; h=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=LJsCjBk8arYIvEtLmyWW67aOoa4/m9qS0ZfNDWmukEg=; b=WF1RlNoeDuya5PSSMUVvekknLxg71GkJR73kZdeTDbKVevfoZTLQXuzdS6ERjE4Zm/Yl0FMKVXyJTeWTIGuwoiVnFnnITXHb9o3yGKYQTUObBV8SbEEnqFtTdU+fR0qfqCiHKFd0ZX7yZdguM9ORIGjF++vGXY1X9ZtG5fbB5Ik= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311434985350.78184919485636; Mon, 15 Jan 2024 01:37:14 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOM-00030G-Bn; Mon, 15 Jan 2024 04:36:26 -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 1rPJOK-0002yd-Nb for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:24 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOJ-00083y-7Y for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:24 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:22 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:20 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311383; x=1736847383; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Ae3UEVtEQon0zcDRm0hrrOZyUSj7p14La3m7kAvib84=; b=fRKfdd2e2fWshXxtMzQIrog21OrVqiGGkwfKb5pK2CzgOPUpjMGJyaoF nFc2luRkEXTLLRxdsYv2UittKYVkcAOSdikzYu8mtdcTsKhEplAsT0yyi kdzAJVdJ3bSuuzmU06lTEUVhGy0WsMDv8Eba1JqfKwUtD5GrRwqjmxY2B H5eZ+0PCy5ASagLDYIXRVJJXLoB7uko94npnCsnutnMPzXvSxdW1768OY MBPCrxeiNjDouRvh2EEago2+f6C810lXEEFUbQJCO9RQxW6VlN+ENdzrN yGhs0jAPQQ122J/YQd+chm999HMjffd738aHzxycLOSK0z6swSezJkhkS Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439827" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439827" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594178" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594178" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 10/11] hw/core: Cleanup unused included headers in numa.c Date: Mon, 15 Jan 2024 17:48:51 +0800 Message-Id: <20240115094852.3597165-11-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311436905100002 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Remove unused header in numa.c: * sysemu/hostmem.h * exec/cpu-common.h * exec/ramlist.h * qemu/bitmap.h * hw/core/cpu.h * hw/mem/pc-dimm.h * migration/vmstate.h Though sysemu/numa.h has been included by sysemu/hostmem.h which is included by hw/boards.h, to keep the dependency clear, still directly include sysemu/numa.h in this file. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/numa.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hw/core/numa.c b/hw/core/numa.c index f08956ddb0ff..ab3f2858ac51 100644 --- a/hw/core/numa.c +++ b/hw/core/numa.c @@ -23,20 +23,14 @@ */ =20 #include "qemu/osdep.h" + #include "qemu/units.h" -#include "sysemu/hostmem.h" #include "sysemu/numa.h" -#include "exec/cpu-common.h" -#include "exec/ramlist.h" -#include "qemu/bitmap.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" #include "qapi/qapi-visit-machine.h" #include "sysemu/qtest.h" -#include "hw/core/cpu.h" -#include "hw/mem/pc-dimm.h" -#include "migration/vmstate.h" #include "hw/boards.h" #include "hw/mem/memory-device.h" #include "qemu/option.h" --=20 2.34.1 From nobody Tue Nov 26 18:23:39 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linux.intel.com ARC-Seal: i=1; a=rsa-sha256; t=1705311444; cv=none; d=zohomail.com; s=zohoarc; b=Hmcnt+MgGDtWzCJD0S2BIL+7a6x1WjTWttIrVRb24zMXL4aaqfIkNX+eG8rwbj+34Z6nYfV8TnwGChX7Idp8SUqMUX8WKJjKBQuJJ5C9fgprz7/qBccDzJ7aCCiWncl4edMdtbOMu29Z98U0FXYhlW3hZVnRkwrW3uYXkZW8Y3I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705311444; h=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=ARJJLKQNyKgnAMXVlRDsNGHRUZDwyr7W3hagpz5+TLI=; b=HKdPZI0xNt6Q9zD8B8VEPAlxisFhayOXG3tvEr95gihwAu+fH5n7KXwVHrquUPQfNhUciiWs+y5pc9Dm3+7PSEfaJMv1ngfSsKkQPEkJFm4lXwwbHPTogECXamof+1rexDlWmcNAQ/zZR0CedjrN/suzDYt/Q/QGjzPNbTNZXJ8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=@intel.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1705311444606417.8935935051601; Mon, 15 Jan 2024 01:37:24 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPJOa-0003B1-63; Mon, 15 Jan 2024 04:36:40 -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 1rPJOY-00039R-9V for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:38 -0500 Received: from mgamail.intel.com ([192.55.52.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPJOV-00083y-8c for qemu-devel@nongnu.org; Mon, 15 Jan 2024 04:36:38 -0500 Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2024 01:36:23 -0800 Received: from liuzhao-optiplex-7080.sh.intel.com ([10.239.160.36]) by fmsmga006.fm.intel.com with ESMTP; 15 Jan 2024 01:36:22 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705311395; x=1736847395; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pt2MYm30g9vvm1ADggzKeJz7RrkeGL5GZzLkhLInohU=; b=eHfh1i5EQhfXAcqLdCrUmQCZzXk6BQ3GsrTxTmsGnBv0lHSe2EiLDhZk HZr/UcNLJ0ogXQU2JXtYm2A1EtLldh2R2j0/PC4EyLAy1YHBu01r/cQG1 bFQ+yayz+CIFvREBGmaKB4NWq9ONkp1kqwIBQGApv6ocota//xyTl+RLE VO593Vfibkp1mjV3dimke4YxIc/g16xd4DZtFjQzGCukfu8l4b1tEs6rJ TMxz56+NjGTH7kKnQyLVjq7i0wfLAhNylMJWwlDPvSWpxOtfTNEhS+FM/ 8l0fCJWYmjnzPNJgLjkli9HsnS/UafLLl86BRqmj6O5CD7Gc8ro6Es3U6 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="398439854" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="398439854" X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10953"; a="1030594181" X-IronPort-AV: E=Sophos;i="6.04,196,1695711600"; d="scan'208";a="1030594181" From: Zhao Liu To: Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang Cc: qemu-devel@nongnu.org, Zhao Liu Subject: [PATCH 11/11] hw/core: Reorder included headers in numa.c Date: Mon, 15 Jan 2024 17:48:52 +0800 Message-Id: <20240115094852.3597165-12-zhao1.liu@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> References: <20240115094852.3597165-1-zhao1.liu@linux.intel.com> MIME-Version: 1.0 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: none client-ip=192.55.52.120; envelope-from=zhao1.liu@linux.intel.com; helo=mgamail.intel.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.758, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @intel.com) X-ZM-MESSAGEID: 1705311444986100001 Content-Type: text/plain; charset="utf-8" From: Zhao Liu Reorder the header files (except qemu/osdep.h) in alphabetical order. Tested by "./configure" and then "make". Signed-off-by: Zhao Liu --- hw/core/numa.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/core/numa.c b/hw/core/numa.c index ab3f2858ac51..aff080d48aa1 100644 --- a/hw/core/numa.c +++ b/hw/core/numa.c @@ -24,18 +24,18 @@ =20 #include "qemu/osdep.h" =20 -#include "qemu/units.h" +#include "hw/boards.h" +#include "hw/mem/memory-device.h" #include "sysemu/numa.h" -#include "qemu/error-report.h" +#include "sysemu/qtest.h" #include "qapi/error.h" #include "qapi/opts-visitor.h" #include "qapi/qapi-visit-machine.h" -#include "sysemu/qtest.h" -#include "hw/boards.h" -#include "hw/mem/memory-device.h" -#include "qemu/option.h" +#include "qemu/error-report.h" #include "qemu/config-file.h" #include "qemu/cutils.h" +#include "qemu/option.h" +#include "qemu/units.h" =20 QemuOptsList qemu_numa_opts =3D { .name =3D "numa", --=20 2.34.1