aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-10-06 09:01:22 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-12 11:50:21 -0400
commit800d4deda04be016a95fbbf397c830a2d14ff9f6 (patch)
tree3079145f9804bb8c96deb3640fa51c5680ccae2a
parent8d0bceba24cc0917d9c6c5252d78db3d9fd5c58d (diff)
softmmu: move more files to softmmu/
Keep most softmmu_ss files into the system-emulation-specific directory. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--MAINTAINERS9
-rw-r--r--meson.build10
-rw-r--r--softmmu/bootdevice.c (renamed from bootdevice.c)0
-rw-r--r--softmmu/device_tree.c (renamed from device_tree.c)0
-rw-r--r--softmmu/dma-helpers.c (renamed from dma-helpers.c)0
-rw-r--r--softmmu/meson.build10
-rw-r--r--softmmu/qdev-monitor.c (renamed from qdev-monitor.c)0
-rw-r--r--softmmu/qemu-seccomp.c (renamed from qemu-seccomp.c)0
-rw-r--r--softmmu/tpm.c (renamed from tpm.c)0
9 files changed, 15 insertions, 14 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 8d50b96c33..dda54f000d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2235,7 +2235,7 @@ Device Tree
M: Alistair Francis <alistair.francis@wdc.com>
R: David Gibson <david@gibson.dropbear.id.au>
S: Maintained
-F: device_tree.c
+F: softmmu/device_tree.c
F: include/sysemu/device_tree.h
Dump
@@ -2281,6 +2281,7 @@ F: include/exec/memop.h
F: include/exec/memory.h
F: include/exec/ram_addr.h
F: include/exec/ramblock.h
+F: softmmu/dma-helpers.c
F: softmmu/ioport.c
F: softmmu/memory.c
F: include/exec/memory-internal.h
@@ -2461,7 +2462,7 @@ F: include/monitor/qdev.h
F: include/qom/
F: qapi/qom.json
F: qapi/qdev.json
-F: qdev-monitor.c
+F: softmmu/qdev-monitor.c
F: qom/
F: tests/check-qom-interface.c
F: tests/check-qom-proplist.c
@@ -2591,7 +2592,7 @@ F: docs/interop/dbus-vmstate.rst
Seccomp
M: Eduardo Otubo <otubo@redhat.com>
S: Supported
-F: qemu-seccomp.c
+F: softmmu/qemu-seccomp.c
F: include/sysemu/seccomp.h
Cryptography
@@ -2957,7 +2958,7 @@ T: git https://github.com/stefanha/qemu.git block
Bootdevice
M: Gonglei <arei.gonglei@huawei.com>
S: Maintained
-F: bootdevice.c
+F: softmmu/bootdevice.c
Quorum
M: Alberto Garcia <berto@igalia.com>
diff --git a/meson.build b/meson.build
index f4ef3b83f3..a280e4cf21 100644
--- a/meson.build
+++ b/meson.build
@@ -1365,17 +1365,7 @@ blockdev_ss.add(files(
# os-win32.c does not
blockdev_ss.add(when: 'CONFIG_POSIX', if_true: files('os-posix.c'))
softmmu_ss.add(when: 'CONFIG_WIN32', if_true: [files('os-win32.c')])
-
softmmu_ss.add_all(blockdev_ss)
-softmmu_ss.add(files(
- 'bootdevice.c',
- 'dma-helpers.c',
- 'qdev-monitor.c',
-), sdl)
-
-softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c'))
-softmmu_ss.add(when: 'CONFIG_SECCOMP', if_true: [files('qemu-seccomp.c'), seccomp])
-softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
common_ss.add(files('cpus-common.c'))
diff --git a/bootdevice.c b/softmmu/bootdevice.c
index add4e3d2d1..add4e3d2d1 100644
--- a/bootdevice.c
+++ b/softmmu/bootdevice.c
diff --git a/device_tree.c b/softmmu/device_tree.c
index b335dae707..b335dae707 100644
--- a/device_tree.c
+++ b/softmmu/device_tree.c
diff --git a/dma-helpers.c b/softmmu/dma-helpers.c
index 03c92e0cc6..03c92e0cc6 100644
--- a/dma-helpers.c
+++ b/softmmu/dma-helpers.c
diff --git a/softmmu/meson.build b/softmmu/meson.build
index 36c96e7b15..862ab24878 100644
--- a/softmmu/meson.build
+++ b/softmmu/meson.build
@@ -14,3 +14,13 @@ specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(
'icount.c'
)])
+
+softmmu_ss.add(files(
+ 'bootdevice.c',
+ 'dma-helpers.c',
+ 'qdev-monitor.c',
+), sdl)
+
+softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c'))
+softmmu_ss.add(when: 'CONFIG_SECCOMP', if_true: [files('qemu-seccomp.c'), seccomp])
+softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
diff --git a/qdev-monitor.c b/softmmu/qdev-monitor.c
index e9b7228480..e9b7228480 100644
--- a/qdev-monitor.c
+++ b/softmmu/qdev-monitor.c
diff --git a/qemu-seccomp.c b/softmmu/qemu-seccomp.c
index 8325ecb766..8325ecb766 100644
--- a/qemu-seccomp.c
+++ b/softmmu/qemu-seccomp.c
diff --git a/tpm.c b/softmmu/tpm.c
index cab206355a..cab206355a 100644
--- a/tpm.c
+++ b/softmmu/tpm.c