[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 5/5] target/arm/cpu: Add the kvm-no-adjvtime CPU prope
Re: [RFC PATCH v2 5/5] target/arm/cpu: Add the kvm-no-adjvtime CPU property
Mon, 20 Jan 2020 11:31:04 +0100
On Mon, Dec 16, 2019 at 03:06:57PM +0000, Peter Maydell wrote:
> Incidentally, if I understand things correctly, for TCG the
> behaviour is (and has always been) that VM-stopped time is
> not counted, because we run the emulated versions of these counters
> off QEMU_CLOCK_VIRTUAL. So having the KVM default be the same as
> the TCG default is nicely consistent.
It's correct that the vtimer has always been this way for TCG.
However TCG and KVM still won't be the same with the adjvtime
patches. The reason is that TCG also bases the ptimer off
QEMU_CLOCK_VIRTUAL. This means on TCG ptimer == vtimer and
both will lag a clocksource outside the VM.
I'm not sure if TCG people want to change that to match KVM.
If so, then I guess the ptimer should be based off
|[Prev in Thread]
||[Next in Thread]|
- Re: [RFC PATCH v2 5/5] target/arm/cpu: Add the kvm-no-adjvtime CPU property,
Andrew Jones <=