Re: [PATCH v2] KVM: x86: Update Xen TSC leaves during CPUID emulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2025-01-24 at 15:05 +0000, Fred Griffoul wrote:
> The Xen emulation in KVM modifies certain CPUID leaves to expose
> TSC information to the guest.
> 
> Previously, these CPUID leaves were updated whenever guest time changed,
> but this conflicts with KVM_SET_CPUID/KVM_SET_CPUID2 ioctls which reject
> changes to CPUID entries on running vCPUs.
> 
> Fix this by updating the TSC information directly in the CPUID emulation
> handler instead of modifying the vCPU's CPUID entries.
> 
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> Signed-off-by: Fred Griffoul <fgriffo@xxxxxxxxxxxx>

Reviewed-by: David Woodhouse <dwmw@xxxxxxxxxxxx>

But I would still like to see a selftest covering it.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux