Skip to content
Snippets Groups Projects
Commit 9f20b55b authored by Artyom Tarasenko's avatar Artyom Tarasenko Committed by Anthony Liguori
Browse files

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: default avatarArtyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
(cherry picked from commit 5933e8a9)
parent d25de8db
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment