summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2018-06-08 02:19:53 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2018-06-12 15:06:35 +0200
commit766d3571d8e50d3a73b77043dc632226f9e6b389 (patch)
tree21387ae6281c953188cad3b61e66e7be33e7c0ac /tools/include
parent3c9fa24ca7c9c47605672916491f79e8ccacb9e6 (diff)
downloadop-kernel-dev-766d3571d8e50d3a73b77043dc632226f9e6b389.zip
op-kernel-dev-766d3571d8e50d3a73b77043dc632226f9e6b389.tar.gz
kvm: fix typo in flag name
KVM_X86_DISABLE_EXITS_HTL really refers to exit on halt. Obviously a typo: should be named KVM_X86_DISABLE_EXITS_HLT. Fixes: caa057a2cad ("KVM: X86: Provide a capability to disable HLT intercepts") Cc: stable@vger.kernel.org Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/kvm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/include/uapi/linux/kvm.h b/tools/include/uapi/linux/kvm.h
index b02c41e..39e364c 100644
--- a/tools/include/uapi/linux/kvm.h
+++ b/tools/include/uapi/linux/kvm.h
@@ -677,10 +677,10 @@ struct kvm_ioeventfd {
};
#define KVM_X86_DISABLE_EXITS_MWAIT (1 << 0)
-#define KVM_X86_DISABLE_EXITS_HTL (1 << 1)
+#define KVM_X86_DISABLE_EXITS_HLT (1 << 1)
#define KVM_X86_DISABLE_EXITS_PAUSE (1 << 2)
#define KVM_X86_DISABLE_VALID_EXITS (KVM_X86_DISABLE_EXITS_MWAIT | \
- KVM_X86_DISABLE_EXITS_HTL | \
+ KVM_X86_DISABLE_EXITS_HLT | \
KVM_X86_DISABLE_EXITS_PAUSE)
/* for KVM_ENABLE_CAP */
OpenPOWER on IntegriCloud