From 9ce84a0d17d015f059a6750fbbf4b057806751df Mon Sep 17 00:00:00 2001 From: Jason Andryuk Date: Tue, 13 Oct 2020 10:05:10 -0400 Subject: 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 Message-Id: <20201013140511.5681-3-jandryuk@gmail.com> Reviewed-by: Claudio Fontana Acked-by: Paolo Bonzini Signed-off-by: Thomas Huth --- accel/meson.build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'accel/meson.build') 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) -- cgit v1.2.3