gt; > time
>>>> > > > of the hires timer. If this difference is negative, the hires timer
>>>> > > > expired. For oneshot mode this is correctly translated into a zero
>>>> > > > value
>>>> > > > for the t
must use the
negative
difference unmodified.
regards Christian
Fix lapic time counter read for periodic mode.
In periodic mode the hrtimer is rearmed once expired, see
apic_timer_fn. So _get_remaining should return proper value
even if the guest
e this is correctly translated into a zero value
> > > for the time counter. However, in periodic mode we must use the negative
> > > difference unmodified.
> > >
> > > regards Christian
> > >
> > > Fix lapic time counter read for periodic
time counter read for periodic mode.
In periodic mode the hrtimer is rearmed once expired, see
apic_timer_fn. So _get_remaining should return proper value
even if the guest is not able to process timer interrupts.
Can you describe your specific scenario in more detail?
In my
d expiration time
> > of the hires timer. If this difference is negative, the hires timer
> > expired. For oneshot mode this is correctly translated into a zero value
> > for the time counter. However, in periodic mode we must use the negative
> > difference unmodified.
> >
ive, the hires timer
> expired. For oneshot mode this is correctly translated into a zero value
> for the time counter. However, in periodic mode we must use the negative
> difference unmodified.
>
> regards Christian
>
> Fix lapic time counter read for periodic mode.
In
translated into a zero value
for the time counter. However, in periodic mode we must use the negative
difference unmodified.
regards Christian
Fix lapic time counter read for periodic mode.
In periodic mode the hrtimer is rearmed once expired, see
apic_timer_fn. So _get_remaining
. For oneshot mode this is correctly translated into a zero value
for the time counter. However, in periodic mode we must use the negative
difference unmodified.
regards Christian
Fix lapic time counter read for periodic mode.
In periodic mode the hrtimer is rearmed once expired
use the negative
difference unmodified.
regards Christian
Fix lapic time counter read for periodic mode.
Signed-off-by: Christian Ehrhardt
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 43e9fad..eff902d 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
use the negative
difference unmodified.
regards Christian
Fix lapic time counter read for periodic mode.
Signed-off-by: Christian Ehrhardt l...@c--e.de
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 43e9fad..eff902d 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm
10 matches
Mail list logo