mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
target/riscv: move KVM only files to kvm subdir
Move the files to a 'kvm' dir to promote more code separation between accelerators and making our lives easier supporting build options such as --disable-tcg. Rename kvm.c to kvm-cpu.c to keep it in line with its TCG counterpart. Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20230925175709.35696-13-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
d86c25b292
commit
fb80f33377
7 changed files with 5 additions and 4 deletions
|
@ -24,7 +24,6 @@ riscv_ss.add(files(
|
|||
'zce_helper.c',
|
||||
'vcrypto_helper.c'
|
||||
))
|
||||
riscv_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c'))
|
||||
|
||||
riscv_system_ss = ss.source_set()
|
||||
riscv_system_ss.add(files(
|
||||
|
@ -39,6 +38,7 @@ riscv_system_ss.add(files(
|
|||
))
|
||||
|
||||
subdir('tcg')
|
||||
subdir('kvm')
|
||||
|
||||
target_arch += {'riscv': riscv_ss}
|
||||
target_system_arch += {'riscv': riscv_system_ss}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue