]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 22 Jul 2021 12:30:18 +0000 (14:30 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Jul 2021 12:26:53 +0000 (08:26 -0400)
commit6d405a0fb9aac5e77953cdc5757d329272f9a0d3
tree68b7aed0b5448cb1a2b0dc3d099a4a85bfac3385
parentfc4c4cd7a23520f5e8b65798aefc73699cea6a1b
KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access

MSR_KVM_ASYNC_PF_ACK MSR is part of interrupt based asynchronous page fault
interface and not the original (deprecated) KVM_FEATURE_ASYNC_PF. This is
stated in Documentation/virt/kvm/msr.rst.

Fixes: 3760a1fc47cd ("kvm: x86: only provide PV features if enabled in guest's CPUID")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Message-Id: <20210722123018.260035-1-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c