aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-02-17 09:56:13 +0800
committerBibo Mao <maobibo@loongson.cn>2025-02-25 16:05:31 +0800
commitdb369c11c90b35f3a6ab59ad78564aea5b30c3da (patch)
tree6e420a1c1acd5edafa3f89b4b945ece9cd933715 /hw
parent954cc5c311cd4459ce16a3302ff8611d98473d7d (diff)
downloadqemu-db369c11c90b35f3a6ab59ad78564aea5b30c3da.zip
qemu-db369c11c90b35f3a6ab59ad78564aea5b30c3da.tar.gz
qemu-db369c11c90b35f3a6ab59ad78564aea5b30c3da.tar.bz2
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/loongarch/virt.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c
index f2aa0a9..59533b0 100644
--- a/hw/loongarch/virt.c
+++ b/hw/loongarch/virt.c
@@ -45,14 +45,6 @@
#include "hw/virtio/virtio-iommu.h"
#include "qemu/error-report.h"
-static bool virt_is_veiointc_enabled(LoongArchVirtMachineState *lvms)
-{
- if (lvms->veiointc == ON_OFF_AUTO_OFF) {
- return false;
- }
- return true;
-}
-
static void virt_get_veiointc(Object *obj, Visitor *v, const char *name,
void *opaque, Error **errp)
{