diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-10-03 09:01:01 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-11-07 12:13:28 +0100 |
commit | 86d9ff288a9f978840982c6d663b78d64021a6da (patch) | |
tree | f5bcfddc8832d9c0ee0c19eb50a836ddeb0c0aff /target/ppc/meson.build | |
parent | aa6edf97ce9783bf831ffaca5eda243210290292 (diff) |
hw/ppc/e500: Restrict ppce500_init_mpic_kvm() to KVM
Inline and guard the single call to kvm_openpic_connect_vcpu()
allows to remove kvm-stub.c.
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20231003070427.69621-3-philmd@linaro.org>
Diffstat (limited to 'target/ppc/meson.build')
-rw-r--r-- | target/ppc/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/ppc/meson.build b/target/ppc/meson.build index 97ceb6e7c0..eab4e3e1b3 100644 --- a/target/ppc/meson.build +++ b/target/ppc/meson.build @@ -30,7 +30,7 @@ gen = [ ] ppc_ss.add(when: 'CONFIG_TCG', if_true: gen) -ppc_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'), if_false: files('kvm-stub.c')) +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() |