Re: [PATCH v6 31/36] KVM: selftests: Add Xen runstate migration test

David Woodhouse <[email protected]>
Newsgroups org.xenproject.lists.xen-devel,org.kernel.vger.kvm,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
On Fri, 2026-07-03 at 22:18 +0100, David Woodhouse wrote:
> 
> +	/* Restore TSC offset */
> +	vcpu_set_msr(vcpu, MSR_IA32_TSC_ADJUST, tsc_offset);

Huh, what nonsense is this? That's for the guest to use. The test
should use KVM_VCPU_TSC_OFFSET. Not quite sure how that ever worked.

Fixed in the kvmclock7 branch.
smime.p7s (application/pkcs7-signature, 6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.