lkml.org 
[lkml]   [2022]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] KVM: x86: AVIC/APICv patch queue
Date
This patch series contains a few fixes that I worked on
recently.

Also included another attempt to add inhibit
when the guest had changed apic id and/or apic base.

I also tested AVIC with full preemption and
found few bugs, which are now hopefully fixed.

Best regards,
Maxim Levitsky

Maxim Levitsky (7):
KVM: x86: document AVIC/APICv inhibit reasons
KVM: x86: inhibit APICv/AVIC when the guest and/or host changes either
apic id or the apic base from their default values.
KVM: x86: SVM: remove avic's broken code that updated APIC ID
KVM: x86: SVM: fix avic_kick_target_vcpus_fast
KVM: x86: disable preemption while updating apicv inhibition
KVM: x86: disable preemption around the call to
kvm_arch_vcpu_{un|}blocking
KVM: x86: SVM: there is no need for preempt safe wrappers for
avic_vcpu_load/put

arch/x86/include/asm/kvm_host.h | 68 ++++++++++++-
arch/x86/kvm/lapic.c | 27 ++++-
arch/x86/kvm/svm/avic.c | 171 ++++++++++++++------------------
arch/x86/kvm/svm/svm.c | 4 +-
arch/x86/kvm/svm/svm.h | 4 +-
arch/x86/kvm/vmx/vmx.c | 4 +-
arch/x86/kvm/x86.c | 2 +
virt/kvm/kvm_main.c | 8 +-
8 files changed, 180 insertions(+), 108 deletions(-)

--
2.26.3


\
 
 \ /
  Last update: 2022-06-06 20:11    [W:0.135 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site