hw/intc: arm_gic_kvm.c restore config first
commit74fdb781c19ef4b781cb6fda48f1f9ebd11257fe
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Apr 2015 16:57:30 +0000 (1 17:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 1 Apr 2015 16:57:30 +0000 (1 17:57 +0100)
treeb59a4d89e90762a140b356879c49d1cbd64b7ddf
parent1a1753f747544d20b999d466b1017721668bfb82
hw/intc: arm_gic_kvm.c restore config first

As there is logic to deal with the difference between edge and level
triggered interrupts in the kernel we must ensure it knows the
configuration of the IRQs before we restore the pending state.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic_kvm.c