KVM: x86: fix LAPIC pending count calculation
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 10 Feb 2009 22:41:41 +0000 (20:41 -0200)
committerAvi Kivity <avi@redhat.com>
Sun, 15 Feb 2009 00:47:38 +0000 (02:47 +0200)
Simplify LAPIC TMCCT calculation by using hrtimer provided
function to query remaining time until expiration.

Fixes host hang with nested ESX.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found