]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
softmmu: move more files to softmmu/
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Oct 2020 07:01:22 +0000 (09:01 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Oct 2020 15:50:21 +0000 (11:50 -0400)
Keep most softmmu_ss files into the system-emulation-specific
directory.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
MAINTAINERS
meson.build
softmmu/bootdevice.c [moved from bootdevice.c with 100% similarity]
softmmu/device_tree.c [moved from device_tree.c with 100% similarity]
softmmu/dma-helpers.c [moved from dma-helpers.c with 100% similarity]
softmmu/meson.build
softmmu/qdev-monitor.c [moved from qdev-monitor.c with 100% similarity]
softmmu/qemu-seccomp.c [moved from qemu-seccomp.c with 100% similarity]
softmmu/tpm.c [moved from tpm.c with 100% similarity]

index 8d50b96c33de7bce52bd78e8959a4fdcf3bf4ff5..dda54f000d9078a47667e7e7e6a4f38a28401272 100644 (file)
@@ -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>
index f4ef3b83f38f51e0b370e9bd58f998869ec91b29..a280e4cf2157a59bd973928a073bc6cb54cf9852 100644 (file)
@@ -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'))
 
similarity index 100%
rename from bootdevice.c
rename to softmmu/bootdevice.c
similarity index 100%
rename from device_tree.c
rename to softmmu/device_tree.c
similarity index 100%
rename from dma-helpers.c
rename to softmmu/dma-helpers.c
index 36c96e7b1555aac79487bab040c73c85d73b893d..862ab248788895c8468eadda141d22bb57af3976 100644 (file)
@@ -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'))
similarity index 100%
rename from qdev-monitor.c
rename to softmmu/qdev-monitor.c
similarity index 100%
rename from qemu-seccomp.c
rename to softmmu/qemu-seccomp.c
similarity index 100%
rename from tpm.c
rename to softmmu/tpm.c