Skip to content

Commit

Permalink
KVM: x86: Delete documentation for READ|WRITE in KVM_X86_SET_MSR_FILTER
Browse files Browse the repository at this point in the history
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: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220831001706.4075399-2-seanjc@google.com
  • Loading branch information
Sean Christopherson committed Dec 1, 2022
1 parent 2e7eab8 commit 5c8c0b3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Documentation/virt/kvm/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down

0 comments on commit 5c8c0b3

Please sign in to comment.