History

Merge tag 'kvm-x86-xen-6.8' of https://github.com/kvm-x86/linux into HEAD

KVM Xen change for 6.8: To workaround Xen guests that don't expect Xen PV clocks to be marked as being based on a stable TSC, add a Xen config knob to allow userspace to opt out of KVM setting the "TSC stable" bit in Xen PV clocks. Note, the "TSC stable" bit was added to the PVCLOCK ABI by KVM without an ack from Xen, i.e. KVM isn't entirely blameless for the buggy guest behavior.

Paolo Bonzini committed 2 years ago

Commit 3115d2d2 parents 8c9244a 6d722834 files · +38 −6Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/kvm.h+1−0
@@ -1245,6 +1245,7 @@ struct kvm_x86_mce { · 1244 unmodified lines
1245#define KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL (1 << 4)1245#define KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL (1 << 4)
1246#define KVM_XEN_HVM_CONFIG_EVTCHN_SEND (1 << 5)1246#define KVM_XEN_HVM_CONFIG_EVTCHN_SEND (1 << 5)
1247#define KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG (1 << 6)1247#define KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG (1 << 6)
1248#define KVM_XEN_HVM_CONFIG_PVCLOCK_TSC_UNSTABLE (1 << 7)
1248 1249
1249struct kvm_xen_hvm_config {1250struct kvm_xen_hvm_config {
1250 __u32 flags;1251 __u32 flags;