aboutsummaryrefslogtreecommitdiff
path: root/accel/kvm/meson.build
diff options
context:
space:
mode:
authorClaudio Fontana <cfontana@suse.de>2020-07-07 10:54:37 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-05 16:41:22 +0200
commit57038a92bb06111fbee57f56c0231359573e805d (patch)
tree4a094bb895a08591845a9dd788244d700ab4c3e0 /accel/kvm/meson.build
parent1583a389885346208217e8170395624b3aa90480 (diff)
cpus: extract out kvm-specific code to accel/kvm
register a "CpusAccel" interface for KVM as well. Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> [added const] Signed-off-by: Claudio Fontana <cfontana@suse.de> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'accel/kvm/meson.build')
-rw-r--r--accel/kvm/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/accel/kvm/meson.build b/accel/kvm/meson.build
index 4db2388e2f..7e9dafe24c 100644
--- a/accel/kvm/meson.build
+++ b/accel/kvm/meson.build
@@ -1,5 +1,8 @@
kvm_ss = ss.source_set()
-kvm_ss.add(files('kvm-all.c'))
+kvm_ss.add(files(
+ 'kvm-all.c',
+ 'kvm-cpus.c',
+))
kvm_ss.add(when: 'CONFIG_SEV', if_false: files('sev-stub.c'))
specific_ss.add_all(when: 'CONFIG_KVM', if_true: kvm_ss)