Message ID | 1431499963-1019-19-git-send-email-edgar.iglesias@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index a7f9a10..76b6b2e 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -384,6 +384,9 @@ static uint32_t create_gic(const VirtBoardInfo *vbi, qemu_irq *pic) /* virtual timer */ qdev_connect_gpio_out(cpudev, 1, qdev_get_gpio_in(gicdev, ppibase + 27)); + /* Hypervisor timer. */ + qdev_connect_gpio_out(cpudev, 2, + qdev_get_gpio_in(gicdev, ppibase + 26)); sysbus_connect_irq(gicbusdev, i, qdev_get_gpio_in(cpudev, ARM_CPU_IRQ)); sysbus_connect_irq(gicbusdev, i + smp_cpus,