Just in case, the value is set for absolutely all board models which include GIC in some form. I am not sure whether all these models can use KVM acceleration, but it definitely would not hurt.
Signed-off-by: Pavel Fedin <p.fe...@samsung.com> --- hw/arm/exynos4_boards.c | 1 + hw/arm/realview.c | 1 + hw/arm/vexpress.c | 1 + 3 files changed, 3 insertions(+) diff --git a/hw/arm/exynos4_boards.c b/hw/arm/exynos4_boards.c index d644db1..d4136bc 100644 --- a/hw/arm/exynos4_boards.c +++ b/hw/arm/exynos4_boards.c @@ -104,6 +104,7 @@ static Exynos4210State *exynos4_boards_init_common(MachineState *machine, exynos4_machines[board_type].max_cpus); } + machine->kernel_irqchip_type = KVM_DEV_TYPE_ARM_VGIC_V2; exynos4_board_binfo.ram_size = exynos4_board_ram_size[board_type]; exynos4_board_binfo.board_id = exynos4_board_id[board_type]; exynos4_board_binfo.smp_bootreg_addr = diff --git a/hw/arm/realview.c b/hw/arm/realview.c index ef2788d..f670d9f 100644 --- a/hw/arm/realview.c +++ b/hw/arm/realview.c @@ -74,6 +74,7 @@ static void realview_init(MachineState *machine, ram_addr_t ram_size = machine->ram_size; hwaddr periphbase = 0; + machine->kernel_irqchip_type = KVM_DEV_TYPE_ARM_VGIC_V2; switch (board_type) { case BOARD_EB: break; diff --git a/hw/arm/vexpress.c b/hw/arm/vexpress.c index da21788..0675a00 100644 --- a/hw/arm/vexpress.c +++ b/hw/arm/vexpress.c @@ -556,6 +556,7 @@ static void vexpress_common_init(MachineState *machine) const hwaddr *map = daughterboard->motherboard_map; int i; + machine->kernel_irqchip_type = KVM_DEV_TYPE_ARM_VGIC_V2; daughterboard->init(vms, machine->ram_size, machine->cpu_model, pic); /* -- 1.9.5.msysgit.0