Re: [Qemu-devel] [RFC 3/4] target-ppc: synchronise tb_offset with KVM host on machine start

2016-04-15 Thread David Gibson
On Thu, Apr 07, 2016 at 04:23:13PM +0100, Mark Cave-Ayland wrote: > Recalculate the tb_offset between the guest and host, applying it to all CPUs > when (re)starting the virtual machine. This has the effect of providing a > near-seamless virtual timebase for KVM guests that support >

[Qemu-devel] [RFC 3/4] target-ppc: synchronise tb_offset with KVM host on machine start

2016-04-07 Thread Mark Cave-Ayland
Recalculate the tb_offset between the guest and host, applying it to all CPUs when (re)starting the virtual machine. This has the effect of providing a near-seamless virtual timebase for KVM guests that support KVM_REG_PPC_TB_OFFSET. Signed-off-by: Mark Cave-Ayland