commit | ace1546487a0fe4634e3251067f8a32cb2cdc099 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Thu Oct 08 10:55:03 2009 -0300 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Fri Oct 16 12:30:25 2009 -0300 |
tree | 6f7ac8a23d0ac1ae5af287916cdd356de114f877 | |
parent | 012abeea669ea49636cf952d13298bb68654146a [diff] |
KVM: use proper hrtimer function to retrieve expiration time hrtimer->base can be temporarily NULL due to racing hrtimer_start. See switch_hrtimer_base/lock_hrtimer_base. Use hrtimer_get_remaining which is robust against it. CC: stable@kernel.org Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>