]> git.ipfire.org Git - thirdparty/qemu.git/commit
fix last cpu timer initialization
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Mon, 2 Aug 2010 17:58:21 +0000 (19:58 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 11 Oct 2010 23:20:39 +0000 (18:20 -0500)
commit9f20b55b9a909de3499d5993f8da6c9bc469653f
tree1a6417da1e9176d6320c61d8d5d6620d3a4a2344
parentd25de8db83128d4c80f7d9fb570bfeba14ee21d2
fix last cpu timer initialization

The timer #0 is the system timer, so the timer #num_cpu is the
timer of the last CPU, and it must be initialized in slavio_timer_reset.

Don't mark non-existing timers as running.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit 5933e8a96ab9c59cb6b6c80c9db385364a68c959)
hw/slavio_timer.c