aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc
diff options
context:
space:
mode:
authorTianrui Zhao <zhaotianrui@loongson.cn>2024-01-05 15:58:01 +0800
committerSong Gao <gaosong@loongson.cn>2024-01-11 19:14:00 +0800
commitd11681c94f4b52d1e095e60ca101df80578437e5 (patch)
treef635a2f027a99586110c60d746f9ead6204046ac /include/hw/intc
parent41958c99e579f6d31545d93603da77133767e3f2 (diff)
downloadqemu-d11681c94f4b52d1e095e60ca101df80578437e5.zip
qemu-d11681c94f4b52d1e095e60ca101df80578437e5.tar.gz
qemu-d11681c94f4b52d1e095e60ca101df80578437e5.tar.bz2
target/loongarch: Implement kvm_arch_init_vcpu
Implement kvm_arch_init_vcpu interface for loongarch, in this function, we register VM change state handler. And when VM state changes to running, the counter value should be put into kvm to keep consistent with kvm, and when state change to stop, counter value should be refreshed from kvm. 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-7-zhaotianrui@loongson.cn> Signed-off-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'include/hw/intc')
0 files changed, 0 insertions, 0 deletions