target/loongarch: Add post init function for kvm mode
authorBibo Mao <maobibo@loongson.cn>
Fri, 14 Feb 2025 08:30:50 +0000 (16:30 +0800)
committerBibo Mao <maobibo@loongson.cn>
Tue, 25 Feb 2025 08:05:31 +0000 (16:05 +0800)
commit3406b001e6e5992a8cc9b2442216de312b111c07
treef5d207d331fb31c6cb31ffa669b4e49d6b762623
parent0262c8075e9dc62a53a4bd15ea8d92a4c9adf018
target/loongarch: Add post init function for kvm mode

Some features such as LBT and PMU are implemented in kvm mode,
With paravirt features in future, post init function is added
for kvm mode, so that property for these features will be created
in kvm post init function.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
target/loongarch/cpu.c
target/loongarch/cpu.h
target/loongarch/kvm/kvm.c