aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py
diff options
context:
space:
mode:
authorFred Griffoul <[email protected]>2025-01-24 15:05:39 +0000
committerSean Christopherson <[email protected]>2025-02-25 15:09:55 +0000
commita2b00f85d7839d74a2f6fcbf547d4bf2e82c34e5 (patch)
treeae03428a7cd98b7a327c22f76d831de7c6628bd1 /tools/testing/selftests/net/lib/py
parentKVM: x86/xen: Move kvm_xen_hvm_config field into kvm_xen (diff)
downloadkernel-a2b00f85d7839d74a2f6fcbf547d4bf2e82c34e5.tar.gz
kernel-a2b00f85d7839d74a2f6fcbf547d4bf2e82c34e5.zip
KVM: x86: Update Xen TSC leaves during CPUID emulation
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: Fred Griffoul <[email protected]> Reviewed-by: Paul Durrant <[email protected]> Reviewed-by: David Woodhouse <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py')
0 files changed, 0 insertions, 0 deletions