]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Tag APICv DISABLE inhibit, not ABSENT, if APICv is disabled
authorSean Christopherson <seanjc@google.com>
Wed, 20 Apr 2022 01:37:29 +0000 (01:37 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Apr 2022 17:16:12 +0000 (13:16 -0400)
commitf533f9d512ebd280947cfa4cdb8ca10d81be5879
tree57ab08a1e1180f8ec6dc87e9e71954ff7eeaf540
parent19ed6cc4b04c8cca20e1550f0fb6c8bee47ff6ee
KVM: x86: Tag APICv DISABLE inhibit, not ABSENT, if APICv is disabled

Set the DISABLE inhibit, not the ABSENT inhibit, if APICv is disabled via
module param.  A recent refactoring to add a wrapper for setting/clearing
inhibits unintentionally changed the flag, probably due to a copy+paste
goof.

Fixes: bc691fca4628 ("KVM: x86: Trace all APICv inhibit changes and capture overall status")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220420013732.3308816-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c