aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-09-12 09:21:27 +0300
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-11-07 12:13:28 +0100
commita523b6761c32d62304037366717e0c2ede8bbf3b (patch)
treea3b02e1d1e5bbd55f759be5d57fc7c7a7faa765b
parent86d9ff288a9f978840982c6d663b78d64021a6da (diff)
downloadqemu-a523b6761c32d62304037366717e0c2ede8bbf3b.zip
qemu-a523b6761c32d62304037366717e0c2ede8bbf3b.tar.gz
qemu-a523b6761c32d62304037366717e0c2ede8bbf3b.tar.bz2
target/ppc: Restrict KVM objects to system emulation
CONFIG_KVM is always FALSE on user emulation, so 'kvm.c' won't be added to ppc_ss[] source set; direcly use the system specific ppc_system_ss[] source set. Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20231003070427.69621-4-philmd@linaro.org>
-rw-r--r--target/ppc/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/meson.build b/target/ppc/meson.build
index eab4e3e..0b89f9b 100644
--- a/target/ppc/meson.build
+++ b/target/ppc/meson.build
@@ -30,7 +30,6 @@ gen = [
]
ppc_ss.add(when: 'CONFIG_TCG', if_true: gen)
-ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
ppc_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user_only_helper.c'))
ppc_system_ss = ss.source_set()
@@ -46,6 +45,7 @@ ppc_system_ss.add(when: 'CONFIG_TCG', if_true: files(
), if_false: files(
'tcg-stub.c',
))
+ppc_system_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
ppc_system_ss.add(when: 'TARGET_PPC64', if_true: files(
'compat.c',