aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2020-06-29 11:35:02 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-10 18:02:24 -0400
commitc7f419f5841a840f3b90e839ef014b94131e5df8 (patch)
tree83e6cfae6c5de28dd6ca244a00c8eb2f5cf7a9d6
parent0b33521ea16463d7f942ddb2b354fa029c96231f (diff)
softmmu: move softmmu only files from root
move arch_init, balloon, cpus, ioport, memory, memory_mapping, qtest. They are all specific to CONFIG_SOFTMMU. Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20200629093504.3228-2-cfontana@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--MAINTAINERS12
-rw-r--r--Makefile.target7
-rw-r--r--softmmu/Makefile.objs10
-rw-r--r--softmmu/arch_init.c (renamed from arch_init.c)0
-rw-r--r--softmmu/balloon.c (renamed from balloon.c)0
-rw-r--r--softmmu/cpus.c (renamed from cpus.c)0
-rw-r--r--softmmu/ioport.c (renamed from ioport.c)0
-rw-r--r--softmmu/memory.c (renamed from memory.c)0
-rw-r--r--softmmu/memory_mapping.c (renamed from memory_mapping.c)0
-rw-r--r--softmmu/qtest.c (renamed from qtest.c)0
10 files changed, 18 insertions, 11 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 51f6ddf814..28f33123ec 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -115,7 +115,7 @@ Overall TCG CPUs
M: Richard Henderson <rth@twiddle.net>
R: Paolo Bonzini <pbonzini@redhat.com>
S: Maintained
-F: cpus.c
+F: softmmu/cpus.c
F: cpus-common.c
F: exec.c
F: accel/tcg/
@@ -1724,7 +1724,7 @@ M: David Hildenbrand <david@redhat.com>
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
virtio-9p
@@ -2203,12 +2203,12 @@ Memory API
M: Paolo Bonzini <pbonzini@redhat.com>
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
@@ -2240,13 +2240,13 @@ F: ui/cocoa.m
Main loop
M: Paolo Bonzini <pbonzini@redhat.com>
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
Human Monitor (HMP)
@@ -2401,7 +2401,7 @@ M: Thomas Huth <thuth@redhat.com>
M: Laurent Vivier <lvivier@redhat.com>
R: Paolo Bonzini <pbonzini@redhat.com>
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 02bd9d7117..ffa2657269 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -152,16 +152,13 @@ endif #CONFIG_BSD_USER
#########################################################
# System emulator target
ifdef CONFIG_SOFTMMU
-obj-y += arch_init.o cpus.o gdbstub.o balloon.o ioport.o
-obj-y += qtest.o
+obj-y += softmmu/
+obj-y += gdbstub.o
obj-y += dump/
obj-y += hw/
obj-y += monitor/
obj-y += qapi/
-obj-y += memory.o
-obj-y += memory_mapping.o
obj-y += migration/ram.o
-obj-y += softmmu/
LIBS := $(libs_softmmu) $(LIBS)
# 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 = softmmu/main.o
+
+obj-y += arch_init.o
+obj-y += cpus.o
+obj-y += balloon.o
+obj-y += ioport.o
+obj-y += memory.o
+obj-y += memory_mapping.o
+
+obj-y += qtest.o
+
obj-y += vl.o
vl.o-cflags := $(GPROF_CFLAGS) $(SDL_CFLAGS)
diff --git a/arch_init.c b/softmmu/arch_init.c
index 8afea4748b..8afea4748b 100644
--- a/arch_init.c
+++ b/softmmu/arch_init.c
diff --git a/balloon.c b/softmmu/balloon.c
index 354408c6ea..354408c6ea 100644
--- a/balloon.c
+++ b/softmmu/balloon.c
diff --git a/cpus.c b/softmmu/cpus.c
index d94456ed29..d94456ed29 100644
--- a/cpus.c
+++ b/softmmu/cpus.c
diff --git a/ioport.c b/softmmu/ioport.c
index 04e360e79a..04e360e79a 100644
--- a/ioport.c
+++ b/softmmu/ioport.c
diff --git a/memory.c b/softmmu/memory.c
index 9200b20130..9200b20130 100644
--- a/memory.c
+++ b/softmmu/memory.c
diff --git a/memory_mapping.c b/softmmu/memory_mapping.c
index 18d0b8067c..18d0b8067c 100644
--- a/memory_mapping.c
+++ b/softmmu/memory_mapping.c
diff --git a/qtest.c b/softmmu/qtest.c
index 5672b75c35..5672b75c35 100644
--- a/qtest.c
+++ b/softmmu/qtest.c