History

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.

Sean Christopherson committed 1 year ago

Commit af5366b1 parent c829ccd1 file · +0 −4Browse files

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

Unified · Split

include/uapi/linux/kvm.h+0−4
@@ -617,10 +617,6 @@ struct kvm_ioeventfd { · 616 unmodified lines
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 {