Re: [RFC 08/33] KVM: x86: Don't use hv_timer if CAP_HYPERV_VSM enabled

2023-11-27 Thread Maxim Levitsky
On Wed, 2023-11-08 at 11:17 +, Nicolas Saenz Julienne wrote: > VSM's VTLs are modeled by using a distinct vCPU per VTL. While one VTL > is running the rest of vCPUs are left idle. This doesn't play well with > the approach of tracking emulated timer expiration by using the VMX > preemption time

[RFC 08/33] KVM: x86: Don't use hv_timer if CAP_HYPERV_VSM enabled

2023-11-08 Thread Nicolas Saenz Julienne
VSM's VTLs are modeled by using a distinct vCPU per VTL. While one VTL is running the rest of vCPUs are left idle. This doesn't play well with the approach of tracking emulated timer expiration by using the VMX preemption timer. Inactive VTL's timers are still meant to run and inject interrupts reg