]> git.proxmox.com Git - mirror_qemu.git/commit - target/loongarch/cpu.c
target/loongarch: Implement kvm get/set registers
authorTianrui Zhao <zhaotianrui@loongson.cn>
Fri, 5 Jan 2024 07:57:59 +0000 (15:57 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 11 Jan 2024 11:14:00 +0000 (19:14 +0800)
commitf8447436d3b583365113997f1dee35f92a21abbd
tree3f909b8a6b56503a5aff15beec6295c2f5850938
parent627846569697d412a16be318091f1dc81e6954c0
target/loongarch: Implement kvm get/set registers

Implement kvm_arch_get/set_registers interfaces, many regs
can be get/set in the function, such as core regs, csr regs,
fpu regs, mp state, etc.

Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Signed-off-by: xianglai li <lixianglai@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Change-Id: Ia8fc48fe08b1768853f7729e77d37cdf270031e4
Message-Id: <20240105075804.1228596-5-zhaotianrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
meson.build
target/loongarch/cpu.c
target/loongarch/cpu.h
target/loongarch/internals.h
target/loongarch/kvm/kvm.c
target/loongarch/trace-events [new file with mode: 0644]
target/loongarch/trace.h [new file with mode: 0644]