Skip to content

Commit af5366b

Browse files
committed
KVM: x86: Drop the now unused KVM_X86_DISABLE_VALID_EXITS
Drop the KVM_X86_DISABLE_VALID_EXITS definition, as it is misleading, and unused in KVM *because* it is misleading. The set of exits that can be disabled is dynamic, i.e. userspace (and KVM) must check KVM's actual capabilities. Suggested-by: Xiaoyao Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
1 parent c829ccd commit af5366b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/uapi/linux/kvm.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -617,10 +617,6 @@ struct kvm_ioeventfd {
617617
#define KVM_X86_DISABLE_EXITS_HLT (1 << 1)
618618
#define KVM_X86_DISABLE_EXITS_PAUSE (1 << 2)
619619
#define KVM_X86_DISABLE_EXITS_CSTATE (1 << 3)
620-
#define KVM_X86_DISABLE_VALID_EXITS (KVM_X86_DISABLE_EXITS_MWAIT | \
621-
KVM_X86_DISABLE_EXITS_HLT | \
622-
KVM_X86_DISABLE_EXITS_PAUSE | \
623-
KVM_X86_DISABLE_EXITS_CSTATE)
624620

625621
/* for KVM_ENABLE_CAP */
626622
struct kvm_enable_cap {

0 commit comments

Comments
 (0)