Re: [External] Re: [RESEND RFC: timer passthrough 0/9] Support timer passthrough for VM

2021-02-23 Thread Zhimin Feng
Hi The host timer would be saved when cpu entry the non-root mode, and it would be restored when cpu entry the root mode. So the guest doesn't the host timer. The host timer would be written to the preemption timer in non-root mode. When the host timer is expired(preemption timer value is '0

Re: [RESEND RFC: timer passthrough 0/9] Support timer passthrough for VM

2021-02-08 Thread Konrad Rzeszutek Wilk
On Fri, Feb 05, 2021 at 06:03:08PM +0800, Zhimin Feng wrote: > The main motivation for this patch is to improve the performance of VM. > This patch series introduces how to enable the timer passthrough in > non-root mode. Nice! Those are impressive numbers! > > The main idea is to offload the ho

[RESEND RFC: timer passthrough 0/9] Support timer passthrough for VM

2021-02-05 Thread Zhimin Feng
The main motivation for this patch is to improve the performance of VM. This patch series introduces how to enable the timer passthrough in non-root mode. The main idea is to offload the host timer to the preemtion timer in non-root mode. Through doing this, guest can write tscdeadline msr directl

Re: [RESEND RFC: timer passthrough 0/9] Support timer passthrough for VM

2021-02-05 Thread Paolo Bonzini
On 05/02/21 11:03, Zhimin Feng wrote: The main motivation for this patch is to improve the performance of VM. This patch series introduces how to enable the timer passthrough in non-root mode. The main idea is to offload the host timer to the preemtion timer in non-root mode. Through doing this,