diff options
author | Yifei Jiang <jiangyifei@huawei.com> | 2022-01-12 16:13:18 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2022-01-21 15:52:56 +1000 |
commit | 91654e613bf67863f27854a7c8e292a273b50a40 (patch) | |
tree | 5680fb1231fe4ae0d5a967bbce7b700b90fb8107 /target/riscv/meson.build | |
parent | b91a0fa70cdd23ca7929d4e255fcfe93e1fe7513 (diff) | |
download | qemu-91654e613bf67863f27854a7c8e292a273b50a40.zip qemu-91654e613bf67863f27854a7c8e292a273b50a40.tar.gz qemu-91654e613bf67863f27854a7c8e292a273b50a40.tar.bz2 |
target/riscv: Add target/riscv/kvm.c to place the public kvm interface
Add target/riscv/kvm.c to place kvm_arch_* function needed by
kvm/kvm-all.c.
Signed-off-by: Yifei Jiang <jiangyifei@huawei.com>
Signed-off-by: Mingwang Li <limingwang@huawei.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Message-id: 20220112081329.1835-3-jiangyifei@huawei.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/meson.build')
-rw-r--r-- | target/riscv/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/meson.build b/target/riscv/meson.build index a32158d..95340b4 100644 --- a/target/riscv/meson.build +++ b/target/riscv/meson.build @@ -20,6 +20,7 @@ riscv_ss.add(files( 'translate.c', 'm128_helper.c' )) +riscv_ss.add(when: 'CONFIG_KVM', if_true: files('kvm.c')) riscv_softmmu_ss = ss.source_set() riscv_softmmu_ss.add(files( |