Skip to content

Commit 800d4de

Browse files
committed
softmmu: move more files to softmmu/
Keep most softmmu_ss files into the system-emulation-specific directory. Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 8d0bceb commit 800d4de

File tree

9 files changed

+15
-14
lines changed

9 files changed

+15
-14
lines changed

MAINTAINERS

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,7 +2235,7 @@ Device Tree
22352235
M: Alistair Francis <[email protected]>
22362236
R: David Gibson <[email protected]>
22372237
S: Maintained
2238-
F: device_tree.c
2238+
F: softmmu/device_tree.c
22392239
F: include/sysemu/device_tree.h
22402240

22412241
Dump
@@ -2281,6 +2281,7 @@ F: include/exec/memop.h
22812281
F: include/exec/memory.h
22822282
F: include/exec/ram_addr.h
22832283
F: include/exec/ramblock.h
2284+
F: softmmu/dma-helpers.c
22842285
F: softmmu/ioport.c
22852286
F: softmmu/memory.c
22862287
F: include/exec/memory-internal.h
@@ -2461,7 +2462,7 @@ F: include/monitor/qdev.h
24612462
F: include/qom/
24622463
F: qapi/qom.json
24632464
F: qapi/qdev.json
2464-
F: qdev-monitor.c
2465+
F: softmmu/qdev-monitor.c
24652466
F: qom/
24662467
F: tests/check-qom-interface.c
24672468
F: tests/check-qom-proplist.c
@@ -2591,7 +2592,7 @@ F: docs/interop/dbus-vmstate.rst
25912592
Seccomp
25922593
M: Eduardo Otubo <[email protected]>
25932594
S: Supported
2594-
F: qemu-seccomp.c
2595+
F: softmmu/qemu-seccomp.c
25952596
F: include/sysemu/seccomp.h
25962597

25972598
Cryptography
@@ -2957,7 +2958,7 @@ T: git https://github.com/stefanha/qemu.git block
29572958
Bootdevice
29582959
M: Gonglei <[email protected]>
29592960
S: Maintained
2960-
F: bootdevice.c
2961+
F: softmmu/bootdevice.c
29612962

29622963
Quorum
29632964
M: Alberto Garcia <[email protected]>

meson.build

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,17 +1365,7 @@ blockdev_ss.add(files(
13651365
# os-win32.c does not
13661366
blockdev_ss.add(when: 'CONFIG_POSIX', if_true: files('os-posix.c'))
13671367
softmmu_ss.add(when: 'CONFIG_WIN32', if_true: [files('os-win32.c')])
1368-
13691368
softmmu_ss.add_all(blockdev_ss)
1370-
softmmu_ss.add(files(
1371-
'bootdevice.c',
1372-
'dma-helpers.c',
1373-
'qdev-monitor.c',
1374-
), sdl)
1375-
1376-
softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c'))
1377-
softmmu_ss.add(when: 'CONFIG_SECCOMP', if_true: [files('qemu-seccomp.c'), seccomp])
1378-
softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
13791369

13801370
common_ss.add(files('cpus-common.c'))
13811371

File renamed without changes.
File renamed without changes.
File renamed without changes.

softmmu/meson.build

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,13 @@ specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
1414
specific_ss.add(when: ['CONFIG_SOFTMMU', 'CONFIG_TCG'], if_true: [files(
1515
'icount.c'
1616
)])
17+
18+
softmmu_ss.add(files(
19+
'bootdevice.c',
20+
'dma-helpers.c',
21+
'qdev-monitor.c',
22+
), sdl)
23+
24+
softmmu_ss.add(when: 'CONFIG_TPM', if_true: files('tpm.c'))
25+
softmmu_ss.add(when: 'CONFIG_SECCOMP', if_true: [files('qemu-seccomp.c'), seccomp])
26+
softmmu_ss.add(when: fdt, if_true: files('device_tree.c'))
File renamed without changes.
File renamed without changes.

tpm.c renamed to softmmu/tpm.c

File renamed without changes.

0 commit comments

Comments
 (0)