KVM: x86: don't disable APICv memslot when inhibited
Thanks to the former patches, it is now possible to keep the APICv memslot always enabled, and it will be invisible to the guest when it is inhibited This code is based on a suggestion from Sean Christopherson: https://lkml.org/lkml/2021/7/19/2970 Suggested-by:Sean Christopherson <seanjc@google.com> Signed-off-by:
Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20210810205251.424103-9-mlevitsk@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- arch/x86/include/asm/kvm-x86-ops.h 0 additions, 1 deletionarch/x86/include/asm/kvm-x86-ops.h
- arch/x86/include/asm/kvm_host.h 0 additions, 1 deletionarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/svm/avic.c 6 additions, 15 deletionsarch/x86/kvm/svm/avic.c
- arch/x86/kvm/svm/svm.c 0 additions, 1 deletionarch/x86/kvm/svm/svm.c
- arch/x86/kvm/svm/svm.h 0 additions, 1 deletionarch/x86/kvm/svm/svm.h
- arch/x86/kvm/x86.c 8 additions, 13 deletionsarch/x86/kvm/x86.c
Loading
Please register or sign in to comment