Skip to content

Commit 676bc0f

Browse files
shentokMichael Tokarev
authored andcommitted
hw/arm/fsl-imx8mp: Wire VIRQ and VFIQ
Allows to run KVM guests inside the imx8mp-evk machine. Fixes: a4eefc6 ("hw/arm: Add i.MX 8M Plus EVK board") CC: qemu-stable Signed-off-by: Bernhard Beschow <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Peter Maydell <[email protected]> (cherry picked from commit 930180f3b9a292639eb894f1ca846683834ed4b7) Signed-off-by: Michael Tokarev <[email protected]>
1 parent fe000c4 commit 676bc0f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hw/arm/fsl-imx8mp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,10 @@ static void fsl_imx8mp_realize(DeviceState *dev, Error **errp)
356356
qdev_get_gpio_in(cpudev, ARM_CPU_IRQ));
357357
sysbus_connect_irq(gicsbd, i + ms->smp.cpus,
358358
qdev_get_gpio_in(cpudev, ARM_CPU_FIQ));
359+
sysbus_connect_irq(gicsbd, i + 2 * ms->smp.cpus,
360+
qdev_get_gpio_in(cpudev, ARM_CPU_VIRQ));
361+
sysbus_connect_irq(gicsbd, i + 3 * ms->smp.cpus,
362+
qdev_get_gpio_in(cpudev, ARM_CPU_VFIQ));
359363
}
360364
}
361365

0 commit comments

Comments
 (0)