aboutsummaryrefslogtreecommitdiff
path: root/accel/meson.build
diff options
context:
space:
mode:
authorJason Andryuk <jandryuk@gmail.com>2020-10-13 10:05:10 -0400
committerThomas Huth <thuth@redhat.com>2020-10-24 07:23:19 +0200
commit9ce84a0d17d015f059a6750fbbf4b057806751df (patch)
tree22dc336b897d1c3844e46a34d3d6a44a0338e9fa /accel/meson.build
parenta6b0882ca75b62b2c0840578f790ab65844b749e (diff)
accel: move qtest CpusAccel functions to a common location
Move and rename accel/qtest/qtest-cpus.c files to accel/dummy-cpus.c so it can be re-used by Xen. Signed-off-by: Jason Andryuk <jandryuk@gmail.com> Message-Id: <20201013140511.5681-3-jandryuk@gmail.com> Reviewed-by: Claudio Fontana <cfontana@suse.de> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'accel/meson.build')
-rw-r--r--accel/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/accel/meson.build b/accel/meson.build
index bb00d0fd13..9a417396bd 100644
--- a/accel/meson.build
+++ b/accel/meson.build
@@ -5,3 +5,10 @@ subdir('kvm')
subdir('tcg')
subdir('xen')
subdir('stubs')
+
+dummy_ss = ss.source_set()
+dummy_ss.add(files(
+ 'dummy-cpus.c',
+))
+
+specific_ss.add_all(when: ['CONFIG_SOFTMMU', 'CONFIG_POSIX'], if_true: dummy_ss)