summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorYanan Wang2021-10-26 05:46:58 +0200
committerPhilippe Mathieu-Daudé2021-11-01 19:44:11 +0100
commit86ce2d28fa09d15547b5cabdc264cadfb53a848c (patch)
tree7c20eee151f904e4e90650a25e83ae009c15b9f4 /MAINTAINERS
parenthw/core: Restrict hotplug to system emulation (diff)
downloadqemu-86ce2d28fa09d15547b5cabdc264cadfb53a848c.tar.gz
qemu-86ce2d28fa09d15547b5cabdc264cadfb53a848c.tar.xz
qemu-86ce2d28fa09d15547b5cabdc264cadfb53a848c.zip
hw/core/machine: Split out the smp parsing code
We are going to introduce an unit test for the parser smp_parse() in hw/core/machine.c, but now machine.c is only built in softmmu. In order to solve the build dependency on the smp parsing code and avoid building unrelated stuff for the unit tests, move the tested code from machine.c into a separate file, i.e., machine-smp.c and build it in common field. Signed-off-by: Yanan Wang <wangyanan55@huawei.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211026034659.22040-2-wangyanan55@huawei.com> Acked-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r--MAINTAINERS1
1 files changed, 1 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 894dc43105..80ec27d76a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1623,6 +1623,7 @@ F: cpu.c
F: hw/core/cpu.c
F: hw/core/machine-qmp-cmds.c
F: hw/core/machine.c
+F: hw/core/machine-smp.c
F: hw/core/null-machine.c
F: hw/core/numa.c
F: hw/cpu/cluster.c