target/loongarch: Define some kvm_arch interfaces
authorTianrui Zhao <zhaotianrui@loongson.cn>
Fri, 5 Jan 2024 07:57:57 +0000 (15:57 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 11 Jan 2024 11:14:00 +0000 (19:14 +0800)
commit537ba9da17f1cb67fb41cd2a3a79e909944b0a15
tree8b0c700d87233b48e787e2e0e1b63a3612d854ce
parent5817db6890c7f2efd5baa9b1a8ff437486e7f85e
target/loongarch: Define some kvm_arch interfaces

Define some functions in target/loongarch/kvm/kvm.c,
such as kvm_arch_put_registers, kvm_arch_get_registers
and kvm_arch_handle_exit, etc. which are needed by
kvm/kvm-all.c. Now the most functions has no content
and they will be implemented in the next patches.

Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: xianglai li <lixianglai@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240105075804.1228596-3-zhaotianrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
target/loongarch/kvm/kvm.c [new file with mode: 0644]