From nobody Sun Oct 5 07:26:07 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.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 ARC-Seal: i=1; a=rsa-sha256; t=1592507129; cv=none; d=zohomail.com; s=zohoarc; b=C/72WW0Qsb8d0tsofnDL+JkwLSsOY5UUtpNnBm2S1SVfyxergcAmTCsIrF+MPV8T13BWqqmf+AjXacIppMiEcXPxj28MZj58boAxdi5apb/fN9LTeMSGeGZszMiCsKLLwTWCu7wxbzTJcvnhV5UGr/+OmWuquihTDNgwCAtLwv0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592507129; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=fl6i6oFsHsN0tas2IggvBYFJt5kK8JUZnhdIQWjFFQY=; b=O8O+L4kVYG5lPu/s7xXErMwlyvLS1JOaYgMcV1Vt7NdVVqg1h16JhNbkU5njZogmZy8O28fRd8mVwfJ44Lz/RqN/knVg6lP1NkQjWjH6tTQ/AlC6ItfitOiyHw45G/LyUiugMr7bHQz/GwGLwDig19CJeRtpVp70e/M+O1enrZY= ARC-Authentication-Results: i=1; mx.zohomail.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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 159250712977448.89352435675198; Thu, 18 Jun 2020 12:05:29 -0700 (PDT) Received: from localhost ([::1]:43322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlzqq-0004DG-6E for importer@patchew.org; Thu, 18 Jun 2020 15:05:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlzpc-0002y7-KE for qemu-devel@nongnu.org; Thu, 18 Jun 2020 15:04:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:33718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlzpY-0006pJ-Rm for qemu-devel@nongnu.org; Thu, 18 Jun 2020 15:04:12 -0400 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7471BADFF; Thu, 18 Jun 2020 19:04:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de From: Claudio Fontana To: Paolo Bonzini , Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Peter Maydell , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Roman Bolshakov , Markus Armbruster Subject: [RFC v6 1/4] softmmu: move softmmu only files from root Date: Thu, 18 Jun 2020 21:03:58 +0200 Message-Id: <20200618190401.4895-2-cfontana@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20200618190401.4895-1-cfontana@suse.de> References: <20200618190401.4895-1-cfontana@suse.de> 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=195.135.220.15; envelope-from=cfontana@suse.de; helo=mx2.suse.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/18 00:12:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Eduardo Habkost , Marcelo Tosatti , qemu-devel@nongnu.org, Colin Xu , Wenchao Wang , haxm-team@intel.com, Sunil Muthuswamy , Richard Henderson , Claudio Fontana Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" move arch_init, balloon, cpus, ioport, memory, memory_mapping, qtest. They are all specific to CONFIG_SOFTMMU. Signed-off-by: Claudio Fontana Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Thomas Huth Reviewed-by; Laurent Vivier --- MAINTAINERS | 12 ++++++------ Makefile.target | 7 ++----- softmmu/Makefile.objs | 10 ++++++++++ arch_init.c =3D> softmmu/arch_init.c | 0 balloon.c =3D> softmmu/balloon.c | 0 cpus.c =3D> softmmu/cpus.c | 0 ioport.c =3D> softmmu/ioport.c | 0 memory.c =3D> softmmu/memory.c | 0 memory_mapping.c =3D> softmmu/memory_mapping.c | 0 qtest.c =3D> softmmu/qtest.c | 0 10 files changed, 18 insertions(+), 11 deletions(-) rename arch_init.c =3D> softmmu/arch_init.c (100%) rename balloon.c =3D> softmmu/balloon.c (100%) rename cpus.c =3D> softmmu/cpus.c (100%) rename ioport.c =3D> softmmu/ioport.c (100%) rename memory.c =3D> softmmu/memory.c (100%) rename memory_mapping.c =3D> softmmu/memory_mapping.c (100%) rename qtest.c =3D> softmmu/qtest.c (100%) diff --git a/MAINTAINERS b/MAINTAINERS index 955cc8dd5c..31e5a7aa4d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -115,7 +115,7 @@ Overall TCG CPUs M: Richard Henderson R: Paolo Bonzini S: Maintained -F: cpus.c +F: softmmu/cpus.c F: cpus-common.c F: exec.c F: accel/tcg/ @@ -1686,7 +1686,7 @@ M: David Hildenbrand S: Maintained F: hw/virtio/virtio-balloon*.c F: include/hw/virtio/virtio-balloon.h -F: balloon.c +F: softmmu/balloon.c F: include/sysemu/balloon.h =20 virtio-9p @@ -2135,12 +2135,12 @@ Memory API M: Paolo Bonzini S: Supported F: include/exec/ioport.h -F: ioport.c F: include/exec/memop.h F: include/exec/memory.h F: include/exec/ram_addr.h F: include/exec/ramblock.h -F: memory.c +F: softmmu/ioport.c +F: softmmu/memory.c F: include/exec/memory-internal.h F: exec.c F: scripts/coccinelle/memory-region-housekeeping.cocci @@ -2172,13 +2172,13 @@ F: ui/cocoa.m Main loop M: Paolo Bonzini S: Maintained -F: cpus.c F: include/qemu/main-loop.h F: include/sysemu/runstate.h F: util/main-loop.c F: util/qemu-timer.c F: softmmu/vl.c F: softmmu/main.c +F: softmmu/cpus.c F: qapi/run-state.json =20 Human Monitor (HMP) @@ -2333,7 +2333,7 @@ M: Thomas Huth M: Laurent Vivier R: Paolo Bonzini S: Maintained -F: qtest.c +F: softmmu/qtest.c F: accel/qtest.c F: tests/qtest/ X: tests/qtest/bios-tables-test-allowed-diff.h diff --git a/Makefile.target b/Makefile.target index 8ed1eba95b..7fbf5d8b92 100644 --- a/Makefile.target +++ b/Makefile.target @@ -152,16 +152,13 @@ endif #CONFIG_BSD_USER ######################################################### # System emulator target ifdef CONFIG_SOFTMMU -obj-y +=3D arch_init.o cpus.o gdbstub.o balloon.o ioport.o -obj-y +=3D qtest.o +obj-y +=3D softmmu/ +obj-y +=3D gdbstub.o obj-y +=3D dump/ obj-y +=3D hw/ obj-y +=3D monitor/ obj-y +=3D qapi/ -obj-y +=3D memory.o -obj-y +=3D memory_mapping.o obj-y +=3D migration/ram.o -obj-y +=3D softmmu/ LIBS :=3D $(libs_softmmu) $(LIBS) =20 # Hardware support diff --git a/softmmu/Makefile.objs b/softmmu/Makefile.objs index dd15c24346..a4bd9f2f52 100644 --- a/softmmu/Makefile.objs +++ b/softmmu/Makefile.objs @@ -1,3 +1,13 @@ softmmu-main-y =3D softmmu/main.o + +obj-y +=3D arch_init.o +obj-y +=3D cpus.o +obj-y +=3D balloon.o +obj-y +=3D ioport.o +obj-y +=3D memory.o +obj-y +=3D memory_mapping.o + +obj-y +=3D qtest.o + obj-y +=3D vl.o vl.o-cflags :=3D $(GPROF_CFLAGS) $(SDL_CFLAGS) diff --git a/arch_init.c b/softmmu/arch_init.c similarity index 100% rename from arch_init.c rename to softmmu/arch_init.c diff --git a/balloon.c b/softmmu/balloon.c similarity index 100% rename from balloon.c rename to softmmu/balloon.c diff --git a/cpus.c b/softmmu/cpus.c similarity index 100% rename from cpus.c rename to softmmu/cpus.c diff --git a/ioport.c b/softmmu/ioport.c similarity index 100% rename from ioport.c rename to softmmu/ioport.c diff --git a/memory.c b/softmmu/memory.c similarity index 100% rename from memory.c rename to softmmu/memory.c diff --git a/memory_mapping.c b/softmmu/memory_mapping.c similarity index 100% rename from memory_mapping.c rename to softmmu/memory_mapping.c diff --git a/qtest.c b/softmmu/qtest.c similarity index 100% rename from qtest.c rename to softmmu/qtest.c --=20 2.16.4