Message ID | 1324cdebbd2f27afbe5d0e66ca33cd261957a983.1696841645.git.lixianglai@loongson.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add loongarch kvm accel support | expand |
diff --git a/target/loongarch/kvm.c b/target/loongarch/kvm.c index 8fda80b107..5e3bda444e 100644 --- a/target/loongarch/kvm.c +++ b/target/loongarch/kvm.c @@ -491,6 +491,7 @@ int kvm_arch_get_default_type(MachineState *ms) int kvm_arch_init(MachineState *ms, KVMState *s) { + cap_has_mp_state = kvm_check_extension(s, KVM_CAP_MP_STATE); return 0; }