Commit 5c8c0b32 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: x86: Delete documentation for READ|WRITE in KVM_X86_SET_MSR_FILTER



Delete the paragraph that describes the behavior when both
KVM_MSR_FILTER_READ | KVM_MSR_FILTER_WRITE are set for a range.  There is
nothing special about KVM's handling of this combination, whereas
explicitly documenting the combination suggests that there is some magic
behavior the user needs to be aware of.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220831001706.4075399-2-seanjc@google.com
parent 2e7eab81
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -4115,13 +4115,6 @@ flags values for ``struct kvm_msr_filter_range``:
  a write for a particular MSR should be handled regardless of the default
  filter action.

``KVM_MSR_FILTER_READ | KVM_MSR_FILTER_WRITE``

  Filter both read and write accesses to MSRs using the given bitmap. A 0
  in the bitmap indicates that both reads and writes should immediately fail,
  while a 1 indicates that reads and writes for a particular MSR are not
  filtered by this range.

flags values for ``struct kvm_msr_filter``:

``KVM_MSR_FILTER_DEFAULT_ALLOW``