aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2024-05-28 16:38:55 +0800
committerSong Gao <gaosong@loongson.cn>2024-06-06 11:56:45 +0800
commit2b284fa9ea17171b11e9112daf19801b90b690a6 (patch)
treeb3b488e7fdb44dd49452fe1ebfa2a554ef330a0c /include
parentf2e61edb2946b0473ad634ed8ec401954ace5c5a (diff)
downloadqemu-2b284fa9ea17171b11e9112daf19801b90b690a6.zip
qemu-2b284fa9ea17171b11e9112daf19801b90b690a6.tar.gz
qemu-2b284fa9ea17171b11e9112daf19801b90b690a6.tar.bz2
hw/loongarch/virt: Enable extioi virt extension
This patch adds a new board attribute 'v-eiointc'. A value of true enables the virt extended I/O interrupt controller. VMs working in kvm mode have 'v-eiointc' enabled by default. Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Bibo Mao <maobibo@loongson.cn> Message-Id: <20240528083855.1912757-4-gaosong@loongson.cn>
Diffstat (limited to 'include')
-rw-r--r--include/hw/loongarch/virt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/loongarch/virt.h b/include/hw/loongarch/virt.h
index 2c4f5cf..8fdfacf 100644
--- a/include/hw/loongarch/virt.h
+++ b/include/hw/loongarch/virt.h
@@ -50,6 +50,7 @@ struct LoongArchVirtMachineState {
Notifier machine_done;
Notifier powerdown_notifier;
OnOffAuto acpi;
+ OnOffAuto veiointc;
char *oem_id;
char *oem_table_id;
DeviceState *acpi_ged;