Re: [RFC v3 08/10] KVM: arm/arm64: Set up a background timer for the physical timer emulation

From: Christoffer Dall
Date: Thu Feb 02 2017 - 05:31:10 EST


On Wed, Feb 01, 2017 at 12:43:08PM -0500, Jintack Lim wrote:
> Set a background timer for the EL1 physical timer emulation while VMs
> are running, so that VMs get the physical timer interrupts in a timely
> manner.
>
> Schedule the background timer on entry to the VM and cancel it on exit.
> This would not have any performance impact to the guest OSes that
> currently use the virtual timer since the physical timer is always not
> enabled.
>
> Signed-off-by: Jintack Lim <jintack@xxxxxxxxxxxxxxx>

Reviewed-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx>