summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx/vmx.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-12-08 04:52:24 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-01-19 20:14:44 +0300
commit782f64558de7bef84b90ea812deb38f0e53a8c7a (patch)
tree18d8f8eb25fbc7d0478fdffa6acb605349fe8db5 /arch/x86/kvm/vmx/vmx.c
parentaf52f5aa5c1b46809834b728a13a1af5aab451e9 (diff)
downloadlinux-782f64558de7bef84b90ea812deb38f0e53a8c7a.tar.xz
KVM: SVM: Skip AVIC and IRTE updates when loading blocking vCPU
Don't bother updating the Physical APIC table or IRTE when loading a vCPU that is blocking, i.e. won't be marked IsRun{ning}=1, as the pCPU is queried if and only if IsRunning is '1'. If the vCPU was migrated, the new pCPU will be picked up when avic_vcpu_load() is called by svm_vcpu_unblocking(). Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20211208015236.1616697-15-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmx.c')
0 files changed, 0 insertions, 0 deletions