Skip to content
Commit a595405d authored by Alexander Graf's avatar Alexander Graf Committed by Avi Kivity
Browse files

KVM: PPC: Destory timer on vcpu destruction



When we destory a vcpu, we should also make sure to kill all pending
timers that could still be up. When not doing this, hrtimers might
dereference null pointers trying to call our code.

This patch fixes spontanious kernel panics seen after closing VMs.

Signed-off-by: default avatarAlexander Graf <alex@csgraf.de>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 7e821d39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment