2021-05-03 13:35:44

by Siddharth Chandrasekaran

[permalink] [raw]
Subject: [PATCH] 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]>
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
---
Documentation/virt/kvm/api.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index 307f2fcf1b02..e778f4aa08f4 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -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
--
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




2021-05-03 18:10:27

by Paolo Bonzini

[permalink] [raw]
Subject: Re: [PATCH] doc/kvm: Fix wrong entry for KVM_CAP_X86_MSR_FILTER

On 03/05/21 14:00, Siddharth Chandrasekaran wrote:
> 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]>
> Signed-off-by: Siddharth Chandrasekaran <[email protected]>
> ---
> Documentation/virt/kvm/api.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 307f2fcf1b02..e778f4aa08f4 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -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
>

Queued, thanks.

Paolo

2021-05-03 18:10:59

by Alexander Graf

[permalink] [raw]
Subject: Re: [PATCH] doc/kvm: Fix wrong entry for KVM_CAP_X86_MSR_FILTER



On 03.05.21 14:00, Siddharth Chandrasekaran wrote:
> 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]>
> Signed-off-by: Siddharth Chandrasekaran <[email protected]>

Reviewed-by: Alexander Graf <[email protected]>

Alex

> ---
> Documentation/virt/kvm/api.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index 307f2fcf1b02..e778f4aa08f4 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -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
>



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