57038a92bb
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>
9 lines
197 B
Meson
9 lines
197 B
Meson
kvm_ss = ss.source_set()
|
|
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)
|