hw/loongarch/virt: Enable extioi virt extension
authorSong Gao <gaosong@loongson.cn>
Tue, 28 May 2024 08:38:55 +0000 (16:38 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 6 Jun 2024 03:56:45 +0000 (11:56 +0800)
commit2b284fa9ea17171b11e9112daf19801b90b690a6
treeb3b488e7fdb44dd49452fe1ebfa2a554ef330a0c
parentf2e61edb2946b0473ad634ed8ec401954ace5c5a
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>
hw/loongarch/virt.c
include/hw/loongarch/virt.h
target/loongarch/cpu.h