]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - tools/include/uapi/linux/kvm.h
KVM: X86: Provide a capability to disable cstate msr read intercepts
[mirror_ubuntu-hirsute-kernel.git] / tools / include / uapi / linux / kvm.h
index 6d4ea4b6c92206ac5843c258f5c1f56987d79f0e..ef3303f72c46ffc87ee77f5e801d99659dc4a68e 100644 (file)
@@ -696,9 +696,11 @@ struct kvm_ioeventfd {
 #define KVM_X86_DISABLE_EXITS_MWAIT          (1 << 0)
 #define KVM_X86_DISABLE_EXITS_HLT            (1 << 1)
 #define KVM_X86_DISABLE_EXITS_PAUSE          (1 << 2)
+#define KVM_X86_DISABLE_EXITS_CSTATE         (1 << 3)
 #define KVM_X86_DISABLE_VALID_EXITS          (KVM_X86_DISABLE_EXITS_MWAIT | \
                                               KVM_X86_DISABLE_EXITS_HLT | \
-                                              KVM_X86_DISABLE_EXITS_PAUSE)
+                                              KVM_X86_DISABLE_EXITS_PAUSE | \
+                                              KVM_X86_DISABLE_EXITS_CSTATE)
 
 /* for KVM_ENABLE_CAP */
 struct kvm_enable_cap {