target/loongarch: Enable virtual extioi feature
authorBibo Mao <maobibo@loongson.cn>
Mon, 17 Feb 2025 01:56:13 +0000 (09:56 +0800)
committerBibo Mao <maobibo@loongson.cn>
Tue, 25 Feb 2025 08:05:31 +0000 (16:05 +0800)
commitdb369c11c90b35f3a6ab59ad78564aea5b30c3da
tree6e420a1c1acd5edafa3f89b4b945ece9cd933715
parent954cc5c311cd4459ce16a3302ff8611d98473d7d
target/loongarch: Enable virtual extioi feature

Feature virtual extioi is loongArch virt machine property rather than
vCPU property in qemu side. However it is vCPU property in KVM kernel
side, here add loongArch virt machine property checking and enable virt
extioi feature when vCPU is created.

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