Skip to contentSkip to conversation

doc/kvm: Fix wrong entry for KVM_CAP_X86_MSR_FILTER

PATCH Applied Siddharth Chandrasekaran 3 participants 3 messages May 3, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc/kvm: Fix wrong entry for KVM_CAP_X86_MSR_FILTER

The capability that exposes new ioctl KVM_X86_SET_MSR_FILTER to userspace is specified incorrectly as the ioctl itself (instead of KVM_CAP_X86_MSR_FILTER). This patch fixes it.

Fixes 1a155254ff93 ("KVM: x86: Introduce MSR filtering")
Cc Alexander Graf <[email protected]>
---
 Documentation/virt/kvm/api.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/virt/kvm/api.rst +2 -2
index 307f2fcf1b02..e778f4aa08f4 100644
@@ -4713,7 +4713,7 @@ KVM_PV_VM_VERIFY
 4.126 KVM_X86_SET_MSR_FILTER
 ----------------------------
 
-:Capability: KVM_X86_SET_MSR_FILTER
+:Capability: KVM_CAP_X86_MSR_FILTER
 :Architectures: x86
 :Type: vm ioctl
 :Parameters: struct kvm_msr_filter
@@ -6586,7 +6586,7 @@ accesses that would usually trigger a #GP by KVM into the guest will
 instead get bounced to user space through the KVM_EXIT_X86_RDMSR and
 KVM_EXIT_X86_WRMSR exit notifications.
 
-8.27 KVM_X86_SET_MSR_FILTER
+8.27 KVM_CAP_X86_MSR_FILTER
 ---------------------------
 
 :Architectures: x86
Signature · 12 lines
2.17.1




Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Siddharth Chandrasekaran

The capability that exposes new ioctl KVM_X86_SET_MSR_FILTER to userspace is specified incorrectly as the ioctl itself (instead of KVM_CAP_X86_MSR_FILTER). This patch fixes it.

Fixes 1a155254ff93 ("KVM: x86: Introduce MSR filtering")
Cc Alexander Graf <[email protected]>

Alex

Quoted 19 lines
---
  Documentation/virt/kvm/api.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/virt/kvm/api.rst +1 -1
index 307f2fcf1b02..e778f4aa08f4 100644
@@ -4713,7 +4713,7 @@ KVM_PV_VM_VERIFY
  4.126 KVM_X86_SET_MSR_FILTER
  ----------------------------
 
-:Capability: KVM_X86_SET_MSR_FILTER
+:Capability: KVM_CAP_X86_MSR_FILTER
  :Architectures: x86
  :Type: vm ioctl
  :Parameters: struct kvm_msr_filter

Documentation/virt/kvm/api.rst accesses that would usually trigger a #GP by KVM into the guest will · line 6592

Quoted 8 lines
Documentation/virt/kvm/api.rst +1 -1
@@ -6586,7 +6586,7 @@ accesses that would usually trigger a #GP by KVM into the guest will
  instead get bounced to user space through the KVM_EXIT_X86_RDMSR and
  KVM_EXIT_X86_WRMSR exit notifications.
 
-8.27 KVM_X86_SET_MSR_FILTER
+8.27 KVM_CAP_X86_MSR_FILTER
  ---------------------------
 
  :Architectures: x86

Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879

maintainer Applied
#2 lore raw
In reply to Siddharth Chandrasekaran
Quoted 26 lines · Siddharth Chandrasekaran

The capability that exposes new ioctl KVM_X86_SET_MSR_FILTER to userspace is specified incorrectly as the ioctl itself (instead of KVM_CAP_X86_MSR_FILTER). This patch fixes it.

Fixes 1a155254ff93 ("KVM: x86: Introduce MSR filtering")
Cc Alexander Graf <[email protected]>
---
  Documentation/virt/kvm/api.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/virt/kvm/api.rst +1 -1
index 307f2fcf1b02..e778f4aa08f4 100644
@@ -4713,7 +4713,7 @@ KVM_PV_VM_VERIFY
  4.126 KVM_X86_SET_MSR_FILTER
  ----------------------------
 
-:Capability: KVM_X86_SET_MSR_FILTER
+:Capability: KVM_CAP_X86_MSR_FILTER
  :Architectures: x86
  :Type: vm ioctl
  :Parameters: struct kvm_msr_filter

Documentation/virt/kvm/api.rst accesses that would usually trigger a #GP by KVM into the guest will · line 6592

Quoted 8 lines
Documentation/virt/kvm/api.rst +1 -1
@@ -6586,7 +6586,7 @@ accesses that would usually trigger a #GP by KVM into the guest will
  instead get bounced to user space through the KVM_EXIT_X86_RDMSR and
  KVM_EXIT_X86_WRMSR exit notifications.
 
-8.27 KVM_X86_SET_MSR_FILTER
+8.27 KVM_CAP_X86_MSR_FILTER
  ---------------------------
 
  :Architectures: x86

Queued, thanks.

Paolo