aboutsummaryrefslogtreecommitdiff
path: root/event-loop-base.c
diff options
context:
space:
mode:
authorTianrui Zhao <zhaotianrui@loongson.cn>2024-01-05 15:57:58 +0800
committerSong Gao <gaosong@loongson.cn>2024-01-11 19:14:00 +0800
commit627846569697d412a16be318091f1dc81e6954c0 (patch)
treec6521e85457962ed2b1aa8fce2aaf9432e1e6360 /event-loop-base.c
parent537ba9da17f1cb67fb41cd2a3a79e909944b0a15 (diff)
target/loongarch: Supplement vcpu env initial when vcpu reset
Supplement vcpu env initial when vcpu reset, including init vcpu CSR_CPUID,CSR_TID to cpu->cpu_index. The two regs will be used in kvm_get/set_csr_ioctl. Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn> Signed-off-by: xianglai li <lixianglai@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-Id: <20240105075804.1228596-4-zhaotianrui@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions